Enum rustc::middle::borrowck::LoanPath[src]

pub enum LoanPath {
    LpVar(NodeId),
    LpUpvar(UpvarId),
    LpExtend(Rc<LoanPath>, MutabilityCategory, LoanPathElem),
}

Variants

LpVar
LpUpvar
LpExtend

Methods

impl LoanPath

fn kill_scope(&self, tcx: &ctxt) -> NodeId

Trait Implementations

impl Repr for LoanPath

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

Derived Implementations

impl<__S: Writer> Hash<__S> for LoanPath

fn hash(&self, __arg_0: &mut __S)

impl Eq for LoanPath

fn assert_receiver_is_total_eq(&self)

impl PartialEq for LoanPath

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

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