Enum rustdoc::clean::WherePredicateExperimental [-]  [+] [src]

pub enum WherePredicate {
    BoundPredicate {
        ty: Type,
        bounds: Vec<TyParamBound>,
    },
    RegionPredicate {
        lifetime: Lifetime,
        bounds: Vec<Lifetime>,
    },
    EqPredicate,
}

Variants

BoundPredicate

Fields

ty
bounds
RegionPredicate

Fields

lifetime
bounds
EqPredicate

Trait Implementations

Derived Implementations

impl PartialEq for WherePredicate

fn eq(&self, __arg_0: &WherePredicate) -> bool

fn ne(&self, __arg_0: &WherePredicate) -> bool

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for WherePredicate

fn decode(__arg_0: &mut __D) -> Result<WherePredicate, __E>

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for WherePredicate

fn encode(&self, __arg_0: &mut __S) -> Result<(), __E>

impl Clone for WherePredicate

fn clone(&self) -> WherePredicate

fn clone_from(&mut self, source: &Self)