Struct rustc::middle::mem_categorization::cmt_ [−][src]
pub struct cmt_<'tcx> { pub hir_id: HirId, pub span: Span, pub cat: Categorization<'tcx>, pub mutbl: MutabilityCategory, pub ty: Ty<'tcx>, pub note: Note, }
🔬 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?
Fields
hir_id: HirId
🔬 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?
span: Span
🔬 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?
cat: Categorization<'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?
mutbl: MutabilityCategory
🔬 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?
ty: Ty<'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?
note: Note
🔬 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<'tcx> cmt_<'tcx>
[src]
impl<'tcx> cmt_<'tcx>
fn resolve_field(
&self,
field_index: usize
) -> Option<(&'tcx AdtDef, &'tcx FieldDef)>
[src]
fn resolve_field(
&self,
field_index: usize
) -> Option<(&'tcx AdtDef, &'tcx FieldDef)>
🔬 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 immutability_blame(&self) -> Option<ImmutabilityBlame<'tcx>>
[src]
pub fn immutability_blame(&self) -> Option<ImmutabilityBlame<'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?
impl<'tcx> cmt_<'tcx>
[src]
impl<'tcx> cmt_<'tcx>
pub fn guarantor(&self) -> cmt_<'tcx>
[src]
pub fn guarantor(&self) -> cmt_<'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?
Returns self
after stripping away any derefs or
interior content. The return value is basically the cmt
which
determines how long the value in self
remains live.
pub fn freely_aliasable(&self) -> Aliasability
[src]
pub fn freely_aliasable(&self) -> Aliasability
🔬 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?
Returns FreelyAliasable(_)
if this place represents a freely aliasable pointer type.
pub fn upvar_cat(&self) -> Option<&Categorization<'tcx>>
[src]
pub fn upvar_cat(&self) -> Option<&Categorization<'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 descriptive_string(&self, tcx: TyCtxt) -> String
[src]
pub fn descriptive_string(&self, tcx: TyCtxt) -> 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
impl<'tcx> Clone for cmt_<'tcx>
[src]
impl<'tcx> Clone for cmt_<'tcx>
fn clone(&self) -> cmt_<'tcx>
[src]
fn clone(&self) -> cmt_<'tcx>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<'tcx> Debug for cmt_<'tcx>
[src]
impl<'tcx> Debug for cmt_<'tcx>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'tcx> PartialEq for cmt_<'tcx>
[src]
impl<'tcx> PartialEq for cmt_<'tcx>