Enum rustc_typeck::middle::ty::vtable_originUnstable [-] [+] [src]

pub enum vtable_origin<'tcx> {
    vtable_static(DefId, Substs<'tcx>, VecPerParamSpace<Vec<vtable_origin<'tcx>>>),
    vtable_param(param_index, usize),
    vtable_closure(DefId),
    vtable_error,
}

Variants

vtable_static
vtable_param
vtable_closure
vtable_error

Trait Implementations

impl<'tcx> Repr<'tcx> for vtable_origin<'tcx>

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

impl<'tcx> TypeFoldable<'tcx> for vtable_origin<'tcx>

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

Derived Implementations

impl<'tcx> Clone for vtable_origin<'tcx>

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

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