Enum rustc_ast::ast::WherePredicate [−][src]
pub enum WherePredicate {
BoundPredicate(WhereBoundPredicate),
RegionPredicate(WhereRegionPredicate),
EqPredicate(WhereEqPredicate),
}Expand description
A single predicate in a where-clause.
Variants
BoundPredicate(WhereBoundPredicate)A type binding (e.g., for<'c> Foo: Send + Clone + 'c).
RegionPredicate(WhereRegionPredicate)A lifetime predicate (e.g., 'a: 'b + 'c).
EqPredicate(WhereEqPredicate)An equality predicate (unsupported).
Implementations
Trait Implementations
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
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 72 bytes