Struct rustc_borrowck::Location [−][src]
pub(crate) struct Location {
pub block: BasicBlock,
pub statement_index: usize,
}Expand description
Location represents the position of the start of the statement; or, if
statement_index equals the number of statements, then the start of the
terminator.
Fields
block: BasicBlockThe block that the location is within.
statement_index: usizeTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Location
impl UnwindSafe for Location
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes