Struct rustc_mir::borrow_check::nll::region_infer::values::RegionElementIndex [−]
pub struct RegionElementIndex(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?
Trait Implementations
impl Copy for RegionElementIndex
impl Copy for RegionElementIndeximpl Clone for RegionElementIndex
impl Clone for RegionElementIndexfn clone(&self) -> RegionElementIndex
fn clone(&self) -> RegionElementIndexReturns 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 RegionElementIndex
impl PartialEq for RegionElementIndexfn eq(&self, other: &RegionElementIndex) -> bool
fn eq(&self, other: &RegionElementIndex) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &RegionElementIndex) -> bool
fn ne(&self, other: &RegionElementIndex) -> boolThis method tests for !=.
impl Eq for RegionElementIndex
impl Eq for RegionElementIndexfn assert_receiver_is_total_eq(&self)
fn assert_receiver_is_total_eq(&self)impl Hash for RegionElementIndex
impl Hash for RegionElementIndexfn 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 RegionElementIndex
impl PartialOrd for RegionElementIndexfn partial_cmp(&self, other: &RegionElementIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &RegionElementIndex) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &RegionElementIndex) -> bool
fn lt(&self, other: &RegionElementIndex) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &RegionElementIndex) -> bool
fn le(&self, other: &RegionElementIndex) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &RegionElementIndex) -> bool
fn gt(&self, other: &RegionElementIndex) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &RegionElementIndex) -> bool
fn ge(&self, other: &RegionElementIndex) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Ord for RegionElementIndex
impl Ord for RegionElementIndexfn cmp(&self, other: &RegionElementIndex) -> Ordering
fn cmp(&self, other: &RegionElementIndex) -> 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 RegionElementIndex
impl Decodable for RegionElementIndexfn decode<__D: Decoder>(d: &mut __D) -> Result<RegionElementIndex, __D::Error>
fn decode<__D: Decoder>(d: &mut __D) -> Result<RegionElementIndex, __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 RegionElementIndex
impl Encodable for RegionElementIndexfn 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 RegionElementIndex
impl Idx for RegionElementIndexfn 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 RegionElementIndex
impl Debug for RegionElementIndeximpl ToElementIndex for RegionElementIndex[src]
impl ToElementIndex for RegionElementIndexfn to_element_index(self, _elements: &RegionValueElements) -> RegionElementIndex[src]
fn to_element_index(self, _elements: &RegionValueElements) -> RegionElementIndex🔬 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 RegionElementIndex
impl Send for RegionElementIndeximpl Sync for RegionElementIndex
impl Sync for RegionElementIndex