Struct rustc::middle::ty::ItemSubsts[src]

pub struct ItemSubsts {
    pub substs: Substs,
}

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

Fields

substs

Methods

impl ItemSubsts

fn empty() -> ItemSubsts

fn is_noop(&self) -> bool

Trait Implementations

impl TypeFoldable for ItemSubsts

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

impl Repr for ItemSubsts

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

Derived Implementations

impl Clone for ItemSubsts

fn clone(&self) -> ItemSubsts

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