Struct rustc_mir::borrow_check::borrow_set::BorrowData[][src]

struct BorrowData<'tcx> {
    reserve_location: Location,
    activation_location: Option<Location>,
    kind: BorrowKind,
    region: Region<'tcx>,
    borrowed_place: Place<'tcx>,
    assigned_place: Place<'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

🔬 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?

Location where the borrow reservation starts. In many cases, this will be equal to the activation location but not always.

🔬 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?

Location where the borrow is activated. None if this is not a 2-phase borrow.

🔬 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?

What kind of borrow this is

🔬 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?

The region for which this borrow is live

🔬 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?

Place from which we are borrowing

🔬 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?

Place to which the borrow was stored

Trait Implementations

impl<'tcx> Debug for BorrowData<'tcx>
[src]

Formats the value using the given formatter. Read more

impl<'tcx> Display for BorrowData<'tcx>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'tcx> !Send for BorrowData<'tcx>

impl<'tcx> !Sync for BorrowData<'tcx>