Struct rustc_borrowck::borrowck::move_data::MovePathIndex [−][src]
pub struct MovePathIndex(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?
Index into MoveData.paths
, used like a pointer
Methods
impl MovePathIndex
[src]
impl MovePathIndex
fn get(&self) -> usize
[src]
fn get(&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?
Trait Implementations
impl Copy for MovePathIndex
[src]
impl Copy for MovePathIndex
impl PartialEq for MovePathIndex
[src]
impl PartialEq for MovePathIndex
fn eq(&self, other: &MovePathIndex) -> bool
[src]
fn eq(&self, other: &MovePathIndex) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &MovePathIndex) -> bool
[src]
fn ne(&self, other: &MovePathIndex) -> bool
This method tests for !=
.
impl Eq for MovePathIndex
[src]
impl Eq for MovePathIndex
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl PartialOrd for MovePathIndex
[src]
impl PartialOrd for MovePathIndex
fn partial_cmp(&self, other: &MovePathIndex) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &MovePathIndex) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &MovePathIndex) -> bool
[src]
fn lt(&self, other: &MovePathIndex) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &MovePathIndex) -> bool
[src]
fn le(&self, other: &MovePathIndex) -> 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: &MovePathIndex) -> bool
[src]
fn gt(&self, other: &MovePathIndex) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &MovePathIndex) -> bool
[src]
fn ge(&self, other: &MovePathIndex) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for MovePathIndex
[src]
impl Ord for MovePathIndex
fn cmp(&self, other: &MovePathIndex) -> Ordering
[src]
fn cmp(&self, other: &MovePathIndex) -> 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 Debug for MovePathIndex
[src]
impl Debug for MovePathIndex
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for MovePathIndex
[src]
impl Clone for MovePathIndex
fn clone(&self) -> MovePathIndex
[src]
fn clone(&self) -> MovePathIndex
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
Auto Trait Implementations
impl Send for MovePathIndex
impl Send for MovePathIndex
impl Sync for MovePathIndex
impl Sync for MovePathIndex