Enum futures_await_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 Synom for WherePredicate
[src]

[src]

impl Clone for WherePredicate
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<WhereBoundPredicate> for WherePredicate
[src]

[src]

Performs the conversion.

impl From<WhereRegionPredicate> for WherePredicate
[src]

[src]

Performs the conversion.

impl From<WhereEqPredicate> for WherePredicate
[src]

[src]

Performs the conversion.

impl ToTokens for WherePredicate
[src]

[src]

Write self to the given Tokens. Read more

[src]

Convert self directly into a Tokens object. Read more