Struct rustc_mir::monomorphize::item::DefPathBasedNames [−][src]
pub struct DefPathBasedNames<'a, 'tcx: 'a> { tcx: TyCtxt<'a, 'tcx, 'tcx>, omit_disambiguators: bool, omit_local_crate_name: 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?
Same as unique_type_name()
but with the result pushed onto the given
output
parameter.
Fields
tcx: TyCtxt<'a, 'tcx, 'tcx>
🔬 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?
omit_disambiguators: 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?
omit_local_crate_name: 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?
Methods
impl<'a, 'tcx> DefPathBasedNames<'a, 'tcx>
[src]
impl<'a, 'tcx> DefPathBasedNames<'a, 'tcx>
pub fn new(
tcx: TyCtxt<'a, 'tcx, 'tcx>,
omit_disambiguators: bool,
omit_local_crate_name: bool
) -> Self
[src]
pub fn new(
tcx: TyCtxt<'a, 'tcx, 'tcx>,
omit_disambiguators: bool,
omit_local_crate_name: bool
) -> Self
🔬 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?
pub fn push_type_name(&self, t: Ty<'tcx>, output: &mut String)
[src]
pub fn push_type_name(&self, t: Ty<'tcx>, output: &mut String)
🔬 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?
pub fn push_def_path(&self, def_id: DefId, output: &mut String)
[src]
pub fn push_def_path(&self, def_id: DefId, output: &mut String)
🔬 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?
fn push_type_params<I>(
&self,
substs: &Substs<'tcx>,
projections: I,
output: &mut String
) where
I: Iterator<Item = PolyExistentialProjection<'tcx>>,
[src]
fn push_type_params<I>(
&self,
substs: &Substs<'tcx>,
projections: I,
output: &mut String
) where
I: Iterator<Item = PolyExistentialProjection<'tcx>>,
🔬 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?
pub fn push_instance_as_string(
&self,
instance: Instance<'tcx>,
output: &mut String
)
[src]
pub fn push_instance_as_string(
&self,
instance: Instance<'tcx>,
output: &mut String
)
🔬 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?
Auto Trait Implementations
impl<'a, 'tcx> !Send for DefPathBasedNames<'a, 'tcx>
impl<'a, 'tcx> !Send for DefPathBasedNames<'a, 'tcx>
impl<'a, 'tcx> !Sync for DefPathBasedNames<'a, 'tcx>
impl<'a, 'tcx> !Sync for DefPathBasedNames<'a, 'tcx>