Struct rustc_typeck::middle::ty::ItemSubstsUnstable [-] [+] [src]

pub struct ItemSubsts<'tcx> {
    pub substs: Substs<'tcx>,
}

Records the substitutions used to translate the polytype for an item into the monotype of an item reference.

Fields

substs

Methods

impl<'tcx> ItemSubsts<'tcx>

fn empty() -> ItemSubsts<'tcx>

fn is_noop(&self) -> bool

Trait Implementations

impl<'tcx> TypeFoldable<'tcx> for ItemSubsts<'tcx>

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

impl<'tcx> Repr<'tcx> for ItemSubsts<'tcx>

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

Derived Implementations

impl<'tcx> Clone for ItemSubsts<'tcx>

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

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