Struct rustc_mir::dataflow::move_paths::indexes::BorrowIndex [−][src]
pub struct BorrowIndex(NonZeroUsize);
🔬 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<'tcx> Index<BorrowIndex> for BorrowSet<'tcx>
[src]
impl<'tcx> Index<BorrowIndex> for BorrowSet<'tcx>
type Output = BorrowData<'tcx>
The returned type after indexing.
fn index(&self, index: BorrowIndex) -> &BorrowData<'tcx>
[src]
fn index(&self, index: BorrowIndex) -> &BorrowData<'tcx>
Performs the indexing (container[index]
) operation.
impl Atom for BorrowIndex
[src]
impl Atom for BorrowIndex
fn index(self) -> usize
[src]
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 From<usize> for BorrowIndex
[src]
impl From<usize> for BorrowIndex
fn from(i: usize) -> BorrowIndex
[src]
fn from(i: usize) -> BorrowIndex
Performs the conversion.
impl From<BorrowIndex> for usize
[src]
impl From<BorrowIndex> for usize
fn from(vid: BorrowIndex) -> usize
[src]
fn from(vid: BorrowIndex) -> usize
Performs the conversion.
impl Copy for BorrowIndex
[src]
impl Copy for BorrowIndex
impl Clone for BorrowIndex
[src]
impl Clone for BorrowIndex
fn clone(&self) -> BorrowIndex
[src]
fn clone(&self) -> BorrowIndex
Returns 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 BorrowIndex
[src]
impl PartialEq for BorrowIndex
fn eq(&self, other: &BorrowIndex) -> bool
[src]
fn eq(&self, other: &BorrowIndex) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &BorrowIndex) -> bool
[src]
fn ne(&self, other: &BorrowIndex) -> bool
This method tests for !=
.
impl Eq for BorrowIndex
[src]
impl Eq for BorrowIndex
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl Hash for BorrowIndex
[src]
impl Hash for BorrowIndex
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
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 BorrowIndex
[src]
impl PartialOrd for BorrowIndex
fn partial_cmp(&self, other: &BorrowIndex) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &BorrowIndex) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &BorrowIndex) -> bool
[src]
fn lt(&self, other: &BorrowIndex) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &BorrowIndex) -> bool
[src]
fn le(&self, other: &BorrowIndex) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &BorrowIndex) -> bool
[src]
fn gt(&self, other: &BorrowIndex) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &BorrowIndex) -> bool
[src]
fn ge(&self, other: &BorrowIndex) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for BorrowIndex
[src]
impl Ord for BorrowIndex
fn cmp(&self, other: &BorrowIndex) -> Ordering
[src]
fn cmp(&self, other: &BorrowIndex) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl Idx for BorrowIndex
[src]
impl Idx for BorrowIndex
fn new(idx: usize) -> Self
[src]
fn new(idx: 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
[src]
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 BorrowIndex
[src]
impl Debug for BorrowIndex
Auto Trait Implementations
impl Send for BorrowIndex
impl Send for BorrowIndex
impl Sync for BorrowIndex
impl Sync for BorrowIndex