Struct rustc_mir::build::Location
[−]
[src]
pub struct Location {
pub block: BasicBlock,
pub statement_index: usize,
}Unstable (
rustc_private)Fields
block: BasicBlock
Unstable (
rustc_private)the location is within this block
statement_index: usize
Unstable (
rustc_private)the location is the start of the this statement; or, if statement_index
== num-statements, then the start of the terminator.
Trait Implementations
Derived Implementations
impl Hash for Location[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Debug for Location[src]
impl Eq for Location[src]
impl PartialEq for Location[src]
fn eq(&self, __arg_0: &Location) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Location) -> bool
This method tests for !=.
impl Clone for Location[src]
fn clone(&self) -> Location
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more