Enum syn::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)

Trait Implementations

impl ToTokens for WherePredicate
[src]

Write self to the given Tokens. Read more

impl Debug for WherePredicate
[src]

Formats the value using the given formatter.

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 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 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.