Enum 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 ToTokens for WherePredicate[src]
impl Debug for WherePredicate[src]
impl Clone for WherePredicate[src]
fn clone(&self) -> WherePredicate
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Eq for WherePredicate[src]
impl PartialEq for WherePredicate[src]
fn eq(&self, __arg_0: &WherePredicate) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &WherePredicate) -> bool
This method tests for !=.