Struct rustc::middle::ty::TyTraitExperimental [-]  [+] [src]

pub struct TyTrait {
    pub principal: TraitRef,
    pub bounds: ExistentialBounds,
}

Fields

principal
bounds

Trait Implementations

Derived Implementations

impl Show for TyTrait

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

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)