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>.
Lifetime(PredicateLifetime)A lifetime predicate in a where clause: 'a: 'b + 'c.
Eq(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 WherePredicateimpl !Send for WherePredicateimpl !Sync for WherePredicateimpl Unpin for WherePredicateimpl UnwindSafe for WherePredicateBlanket Implementations
Mutably borrows from an owned value. Read more