Struct rustc_borrowck::borrowck::LoanPath [−][src]
pub struct LoanPath<'tcx> { kind: LoanPathKind<'tcx>, 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?
Fields
kind: LoanPathKind<'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?
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?
Methods
impl<'tcx> LoanPath<'tcx>
[src]
impl<'tcx> LoanPath<'tcx>
fn new(kind: LoanPathKind<'tcx>, ty: Ty<'tcx>) -> LoanPath<'tcx>
[src]
fn new(kind: LoanPathKind<'tcx>, ty: Ty<'tcx>) -> LoanPath<'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?
fn to_type(&self) -> Ty<'tcx>
[src]
fn to_type(&self) -> 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?
fn has_downcast(&self) -> bool
[src]
fn has_downcast(&self) -> bool
🔬 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<'a, 'tcx> LoanPath<'tcx>
[src]
impl<'a, 'tcx> LoanPath<'tcx>
pub fn kill_scope(&self, bccx: &BorrowckCtxt<'a, 'tcx>) -> Scope
[src]
pub fn kill_scope(&self, bccx: &BorrowckCtxt<'a, 'tcx>) -> Scope
🔬 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?
fn has_fork(&self, other: &LoanPath<'tcx>) -> bool
[src]
fn has_fork(&self, other: &LoanPath<'tcx>) -> bool
🔬 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?
fn depth(&self) -> usize
[src]
fn depth(&self) -> usize
🔬 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?
fn common(&self, other: &LoanPath<'tcx>) -> Option<LoanPath<'tcx>>
[src]
fn common(&self, other: &LoanPath<'tcx>) -> Option<LoanPath<'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> Eq for LoanPath<'tcx>
[src]
impl<'tcx> Eq for LoanPath<'tcx>
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl<'tcx> PartialEq for LoanPath<'tcx>
[src]
impl<'tcx> PartialEq for LoanPath<'tcx>
fn eq(&self, that: &LoanPath<'tcx>) -> bool
[src]
fn eq(&self, that: &LoanPath<'tcx>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl<'tcx> Hash for LoanPath<'tcx>
[src]
impl<'tcx> Hash for LoanPath<'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 LoanPath<'tcx>
[src]
impl<'tcx> Debug for LoanPath<'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> Display for LoanPath<'tcx>
[src]
impl<'tcx> Display for LoanPath<'tcx>