Enum rustc_typeck::hir::WherePredicate [] [src]

pub enum WherePredicate {
    BoundPredicate(WhereBoundPredicate),
    RegionPredicate(WhereRegionPredicate),
    EqPredicate(WhereEqPredicate),
}
🔬 This is a nightly-only experimental API. (rustc_private)

A single predicate in a where clause

Variants

🔬 This is a nightly-only experimental API. (rustc_private)

A type binding, eg for<'c> Foo: Send+Clone+'c

🔬 This is a nightly-only experimental API. (rustc_private)

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

🔬 This is a nightly-only experimental API. (rustc_private)

An equality predicate (unsupported)

Trait Implementations

impl Decodable for WherePredicate
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

impl PartialEq<WherePredicate> for WherePredicate
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for WherePredicate
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Clone for WherePredicate
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for WherePredicate
[src]

impl Debug for WherePredicate
[src]

Formats the value using the given formatter.

impl Encodable for WherePredicate
[src]

🔬 This is a nightly-only experimental API. (rustc_private)