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 |
pub struct ItemSubsts {
pub substs: Substs,
}Records the substitutions used to translate the polytype for an item into the monotype of an item reference.
substs |
impl ItemSubstsfn empty() -> ItemSubstsfn is_noop(&self) -> boolimpl TypeFoldable for ItemSubstsfn fold_with<F: TypeFolder>(&self, folder: &mut F) -> ItemSubstsimpl Repr for ItemSubstsimpl Clone for ItemSubstsfn clone(&self) -> ItemSubstsfn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).