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)
Tuple Fields
A type binding (e.g., for<'c> Foo: Send + Clone + 'c).
RegionPredicate(WhereRegionPredicate)
Tuple Fields
A lifetime predicate (e.g., 'a: 'b + 'c).
EqPredicate(WhereEqPredicate)
Tuple Fields
An equality predicate (unsupported).
Implementations
Trait Implementations
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
Layout
Note: Most layout information is completely unstable and may even differ between compilations. 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
Size for each variant:
BoundPredicate: 64 bytesRegionPredicate: 48 bytesEqPredicate: 32 bytes
