Enum rustc_typeck::middle::ty::vtable_origin [−] [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,
}
Unstable

Variants

vtable_static
Unstable
vtable_param
Unstable
vtable_closure
Unstable
vtable_error
Unstable

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)