Enum rustc_borrowck::borrowck::LoanPathKind [−][src]
pub enum LoanPathKind<'tcx> {
LpVar(NodeId),
LpUpvar(UpvarId),
LpDowncast(Rc<LoanPath<'tcx>>, DefId),
LpExtend(Rc<LoanPath<'tcx>>, MutabilityCategory, LoanPathElem<'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?
Variants
LpVar(NodeId)🔬 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?
LpUpvar(UpvarId)🔬 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?
LpDowncast(Rc<LoanPath<'tcx>>, DefId)🔬 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?
LpExtend(Rc<LoanPath<'tcx>>, MutabilityCategory, LoanPathElem<'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?
Trait Implementations
impl<'tcx> PartialEq for LoanPathKind<'tcx>[src]
impl<'tcx> PartialEq for LoanPathKind<'tcx>fn eq(&self, other: &LoanPathKind<'tcx>) -> bool[src]
fn eq(&self, other: &LoanPathKind<'tcx>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &LoanPathKind<'tcx>) -> bool[src]
fn ne(&self, other: &LoanPathKind<'tcx>) -> boolThis method tests for !=.
impl<'tcx> Eq for LoanPathKind<'tcx>[src]
impl<'tcx> Eq for LoanPathKind<'tcx>fn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl<'tcx> Hash for LoanPathKind<'tcx>[src]
impl<'tcx> Hash for LoanPathKind<'tcx>fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl<'tcx> Debug for LoanPathKind<'tcx>[src]
impl<'tcx> Debug for LoanPathKind<'tcx>Auto Trait Implementations
impl<'tcx> !Send for LoanPathKind<'tcx>
impl<'tcx> !Send for LoanPathKind<'tcx>impl<'tcx> !Sync for LoanPathKind<'tcx>
impl<'tcx> !Sync for LoanPathKind<'tcx>