Struct rustc::middle::traits::VtableParamDataExperimental [-]  [+] [src]

pub struct VtableParamData {
    pub bound: Rc<TraitRef>,
}

A vtable provided as a parameter by the caller. For example, in a function like fn foo<T:Eq>(...), if the eq() method is invoked on an instance of T, the vtable would be of type VtableParam.

Fields

bound

Trait Implementations

impl Show for VtableParamData

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

impl Repr for VtableParamData

fn repr(&self, tcx: &ctxt) -> String

impl TypeFoldable for VtableParamData

fn fold_with<'tcx, F: TypeFolder<'tcx>>(&self, folder: &mut F) -> VtableParamData

Derived Implementations

impl Clone for VtableParamData

fn clone(&self) -> VtableParamData

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

impl Eq for VtableParamData

fn assert_receiver_is_total_eq(&self)

impl PartialEq for VtableParamData

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

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