Struct rustc::middle::ty::TyTrait[src]

pub struct TyTrait {
    pub def_id: DefId,
    pub substs: Substs,
    pub bounds: BuiltinBounds,
}

Fields

def_id
substs
bounds

Trait Implementations

Derived Implementations

impl<__S: Writer> Hash<__S> for TyTrait

fn hash(&self, __arg_0: &mut __S)

impl Eq for TyTrait

fn assert_receiver_is_total_eq(&self)

impl PartialEq for TyTrait

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

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

impl Clone for TyTrait

fn clone(&self) -> TyTrait

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