Struct rustc_mir::borrow_check::location::LocationIndex [−]
pub struct LocationIndex(u32);
🔬 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 LocationIndex[src]
impl LocationIndexfn is_start(&self) -> bool[src]
fn is_start(&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?
Trait Implementations
impl Copy for LocationIndex
impl Copy for LocationIndeximpl Clone for LocationIndex
impl Clone for LocationIndexfn clone(&self) -> LocationIndex
fn clone(&self) -> LocationIndexReturns 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)Performs copy-assignment from source. Read more
impl PartialEq for LocationIndex
impl PartialEq for LocationIndexfn eq(&self, other: &LocationIndex) -> bool
fn eq(&self, other: &LocationIndex) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &LocationIndex) -> bool
fn ne(&self, other: &LocationIndex) -> boolThis method tests for !=.
impl Eq for LocationIndex
impl Eq for LocationIndexfn assert_receiver_is_total_eq(&self)
fn assert_receiver_is_total_eq(&self)impl Hash for LocationIndex
impl Hash for LocationIndexfn hash<__H: Hasher>(&self, state: &mut __H)
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 PartialOrd for LocationIndex
impl PartialOrd for LocationIndexfn partial_cmp(&self, other: &LocationIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &LocationIndex) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &LocationIndex) -> bool
fn lt(&self, other: &LocationIndex) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &LocationIndex) -> bool
fn le(&self, other: &LocationIndex) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &LocationIndex) -> bool
fn gt(&self, other: &LocationIndex) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &LocationIndex) -> bool
fn ge(&self, other: &LocationIndex) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Ord for LocationIndex
impl Ord for LocationIndexfn cmp(&self, other: &LocationIndex) -> Ordering
fn cmp(&self, other: &LocationIndex) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl Decodable for LocationIndex
impl Decodable for LocationIndexfn decode<__D: Decoder>(d: &mut __D) -> Result<LocationIndex, __D::Error>
fn decode<__D: Decoder>(d: &mut __D) -> Result<LocationIndex, __D::Error>🔬 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 Encodable for LocationIndex
impl Encodable for LocationIndexfn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>🔬 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 Idx for LocationIndex
impl Idx for LocationIndexfn new(value: usize) -> Self
fn new(value: usize) -> Self🔬 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 index(self) -> usize
fn index(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?
impl Debug for LocationIndex
impl Debug for LocationIndeximpl FactCell for LocationIndex[src]
impl FactCell for LocationIndexfn to_string(&self, location_table: &LocationTable) -> String[src]
fn to_string(&self, location_table: &LocationTable) -> String🔬 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?
Auto Trait Implementations
impl Send for LocationIndex
impl Send for LocationIndeximpl Sync for LocationIndex
impl Sync for LocationIndex