Enum rustdoc::clean::WherePredicate [−] [src]

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

Variants

BoundPredicate
Unstable

Fields

ty
Unstable
bounds
Unstable
RegionPredicate
Unstable

Fields

lifetime
Unstable
bounds
Unstable
EqPredicate
Unstable

Fields

lhs
Unstable
rhs
Unstable

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)