Enum syn::WherePredicate [−][src]
pub enum WherePredicate {
Type(PredicateType),
Lifetime(PredicateLifetime),
Eq(PredicateEq),
}
Expand description
A single predicate in a where
clause: T: Deserialize<'de>
.
This type is available only if Syn is built with the "derive"
or "full"
feature.
Syntax tree enum
This type is a syntax tree enum.
Variants
Type(PredicateType)
A type predicate in a where
clause: for<'c> Foo<'c>: Trait<'c>
.
Tuple Fields of Type
Lifetime(PredicateLifetime)
A lifetime predicate in a where
clause: 'a: 'b + 'c
.
Tuple Fields of Lifetime
Eq(PredicateEq)
An equality predicate in a where
clause (unsupported).
Tuple Fields of Eq
0: PredicateEq
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for WherePredicate
impl !Send for WherePredicate
impl !Sync for WherePredicate
impl Unpin for WherePredicate
impl UnwindSafe for WherePredicate
Blanket Implementations
Mutably borrows from an owned value. Read more