Enum syntax::ast::WherePredicate[][src]

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

A single predicate in a where clause

Variants

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

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

An equality predicate (unsupported)

Methods

impl WherePredicate
[src]

Trait Implementations

impl Clone for WherePredicate
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq 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 Eq for WherePredicate
[src]

impl Encodable for WherePredicate
[src]

impl Decodable for WherePredicate
[src]

impl Hash for WherePredicate
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for WherePredicate
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations