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

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

Variants

BoundPredicate

Fields

ty
bounds
RegionPredicate

Fields

lifetime
bounds
EqPredicate

Fields

lhs
rhs

Trait Implementations

Derived Implementations

impl Debug for WherePredicate

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for WherePredicate

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

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

impl Decodable for WherePredicate

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

impl Encodable for WherePredicate

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

impl Clone for WherePredicate

fn clone(&self) -> WherePredicate

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