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

pub struct VtableDefaultImplData<N> {
    pub trait_def_id: DefId,
    pub nested: Vec<N>,
}

Fields

trait_def_id
nested

Methods

impl<N> VtableDefaultImplData<N>

fn iter_nested(&self) -> Iter<N>

fn map_nested<M, F>(&self, op: F) -> VtableDefaultImplData<M> where F: FnMut(&N) -> M

fn map_move_nested<M, F>(self, op: F) -> VtableDefaultImplData<M> where F: FnMut(N) -> M

Trait Implementations

impl<'tcx, N: Repr<'tcx>> Repr<'tcx> for VtableDefaultImplData<N>

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

impl<'tcx, N: TypeFoldable<'tcx>> TypeFoldable<'tcx> for VtableDefaultImplData<N>

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

Derived Implementations

impl<N: Clone> Clone for VtableDefaultImplData<N> where N: Clone

fn clone(&self) -> VtableDefaultImplData<N>

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

impl<N: Debug> Debug for VtableDefaultImplData<N> where N: Debug

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