Struct rustc::middle::mem_categorization::cmt_[src]

pub struct cmt_ {
    pub id: NodeId,
    pub span: Span,
    pub cat: categorization,
    pub mutbl: MutabilityCategory,
    pub ty: t,
}

Fields

id
span
cat
mutbl
ty

Methods

impl cmt_

fn guarantor(&self) -> cmt

Returns self after stripping away any owned pointer derefs or interior content. The return value is basically the cmt which determines how long the value in self remains live.

fn freely_aliasable(&self, ctxt: &ctxt) -> Option<AliasableReason>

Returns Some(_) if this lvalue represents a freely aliasable pointer type.

Trait Implementations

impl Repr for cmt_

fn repr(&self, tcx: &ctxt) -> String

Derived Implementations

impl PartialEq for cmt_

fn eq(&self, __arg_0: &cmt_) -> bool

fn ne(&self, __arg_0: &cmt_) -> bool

impl Clone for cmt_

fn clone(&self) -> cmt_

fn clone_from(&mut self, source: &Self)