Struct rustc_mir::monomorphize::item::DefPathBasedNames
[−]
[src]
pub struct DefPathBasedNames<'a, 'tcx: 'a> { /* fields omitted */ }
🔬 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.
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?
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?
Trait Implementations
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>