Enum futures_await_syn::WherePredicate
[−]
[src]
pub enum WherePredicate { BoundPredicate(WhereBoundPredicate), RegionPredicate(WhereRegionPredicate), EqPredicate(WhereEqPredicate), }
A single predicate in a where
clause
Variants
BoundPredicate(WhereBoundPredicate)
A type binding, e.g. for<'c> Foo: Send+Clone+'c
RegionPredicate(WhereRegionPredicate)
A lifetime predicate, e.g. 'a: 'b+'c
EqPredicate(WhereEqPredicate)
An equality predicate (unsupported)
Trait Implementations
impl Synom for WherePredicate
[src]
impl Clone for WherePredicate
[src]
fn clone(&self) -> WherePredicate
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<WhereBoundPredicate> for WherePredicate
[src]
fn from(e: WhereBoundPredicate) -> WherePredicate
[src]
Performs the conversion.
impl From<WhereRegionPredicate> for WherePredicate
[src]
fn from(e: WhereRegionPredicate) -> WherePredicate
[src]
Performs the conversion.
impl From<WhereEqPredicate> for WherePredicate
[src]
fn from(e: WhereEqPredicate) -> WherePredicate
[src]
Performs the conversion.