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 Copy for BorrowIndex[src]
impl Copy for BorrowIndeximpl Clone for BorrowIndex[src]
impl Clone for BorrowIndexfn clone(&self) -> BorrowIndex[src]
fn clone(&self) -> BorrowIndexReturns 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 BorrowIndexfn eq(&self, other: &BorrowIndex) -> bool[src]
fn eq(&self, other: &BorrowIndex) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for BorrowIndex[src]
impl Eq for BorrowIndexfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl Hash for BorrowIndex[src]
impl Hash for BorrowIndexfn 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 Idx for BorrowIndex[src]
impl Idx for BorrowIndexfn 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 BorrowIndexAuto Trait Implementations
impl Send for BorrowIndex
impl Send for BorrowIndeximpl Sync for BorrowIndex
impl Sync for BorrowIndex