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)
Tuple Fields
A type predicate in a where
clause: for<'c> Foo<'c>: Trait<'c>
.
Lifetime(PredicateLifetime)
Tuple Fields
A lifetime predicate in a where
clause: 'a: 'b + 'c
.
Eq(PredicateEq)
Tuple Fields
0: PredicateEq
An equality predicate in a where
clause (unsupported).
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