WherePredicateKind in rustc_ast::ast - Rust (original) (raw)

Enum WherePredicateKind

Source

pub enum WherePredicateKind {
    BoundPredicate(WhereBoundPredicate),
    RegionPredicate(WhereRegionPredicate),
    EqPredicate(WhereEqPredicate),
}

Expand description

Predicate kind in where-clause.

§

A type bound (e.g., for<'c> Foo: Send + Clone + 'c).

§

A lifetime predicate (e.g., 'a: 'b + 'c).

§

An equality predicate (unsupported).

§

§

§

§

§

§

§

§

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: 48 bytes

Size for each variant: