[−][src]Type Definition rustc::ty::subst::CanonicalSubsts
type CanonicalSubsts<'gcx> = Canonical<'gcx, &'gcx Substs<'gcx>>;
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Methods
impl<'gcx> CanonicalSubsts<'gcx>
[src]
impl<'gcx> CanonicalSubsts<'gcx>
pub fn is_identity(&self) -> bool
[src]
pub fn is_identity(&self) -> bool
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
True if this represents a substitution like
[?0, ?1, ?2]
i.e., each thing is mapped to a canonical variable with the same index.