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 Encodable for WherePredicate
[src]

impl Decodable for WherePredicate
[src]

impl Debug for WherePredicate
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations