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

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

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<'tcx> Show for VtableParamData<'tcx>

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

impl<'tcx> Repr<'tcx> for VtableParamData<'tcx>

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

impl<'tcx> TypeFoldable<'tcx> for VtableParamData<'tcx>

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

Derived Implementations

impl<'tcx> Clone for VtableParamData<'tcx>

fn clone(&self) -> VtableParamData<'tcx>

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

impl<'tcx> Eq for VtableParamData<'tcx>

fn assert_receiver_is_total_eq(&self)

impl<'tcx> PartialEq for VtableParamData<'tcx>

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

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