Enum rustc_borrowck::borrowck::LoanPathElem [−][src]
pub enum LoanPathElem<'tcx> { LpDeref(PointerKind<'tcx>), LpInterior(Option<DefId>, InteriorKind), }
🔬 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
LpDeref(PointerKind<'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?
LpInterior(Option<DefId>, InteriorKind)
🔬 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> Copy for LoanPathElem<'tcx>
[src]
impl<'tcx> Copy for LoanPathElem<'tcx>
impl<'tcx> Clone for LoanPathElem<'tcx>
[src]
impl<'tcx> Clone for LoanPathElem<'tcx>
fn clone(&self) -> LoanPathElem<'tcx>
[src]
fn clone(&self) -> LoanPathElem<'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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'tcx> PartialEq for LoanPathElem<'tcx>
[src]
impl<'tcx> PartialEq for LoanPathElem<'tcx>
fn eq(&self, other: &LoanPathElem<'tcx>) -> bool
[src]
fn eq(&self, other: &LoanPathElem<'tcx>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &LoanPathElem<'tcx>) -> bool
[src]
fn ne(&self, other: &LoanPathElem<'tcx>) -> bool
This method tests for !=
.
impl<'tcx> Eq for LoanPathElem<'tcx>
[src]
impl<'tcx> Eq for LoanPathElem<'tcx>
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl<'tcx> Hash for LoanPathElem<'tcx>
[src]
impl<'tcx> Hash for LoanPathElem<'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,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl<'tcx> Debug for LoanPathElem<'tcx>
[src]
impl<'tcx> Debug for LoanPathElem<'tcx>
Auto Trait Implementations
impl<'tcx> !Send for LoanPathElem<'tcx>
impl<'tcx> !Send for LoanPathElem<'tcx>
impl<'tcx> !Sync for LoanPathElem<'tcx>
impl<'tcx> !Sync for LoanPathElem<'tcx>