Struct cranelift_isle::trie_again::TupleIndex
source · pub struct TupleIndex(/* private fields */);
Expand description
A field index in a tuple or an enum variant.
Implementations§
Trait Implementations§
source§impl Clone for TupleIndex
impl Clone for TupleIndex
source§fn clone(&self) -> TupleIndex
fn clone(&self) -> TupleIndex
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TupleIndex
impl Debug for TupleIndex
source§impl Default for TupleIndex
impl Default for TupleIndex
source§fn default() -> TupleIndex
fn default() -> TupleIndex
Returns the “default value” for a type. Read more
source§impl Hash for TupleIndex
impl Hash for TupleIndex
source§impl Ord for TupleIndex
impl Ord for TupleIndex
source§fn cmp(&self, other: &TupleIndex) -> Ordering
fn cmp(&self, other: &TupleIndex) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for TupleIndex
impl PartialEq for TupleIndex
source§fn eq(&self, other: &TupleIndex) -> bool
fn eq(&self, other: &TupleIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TupleIndex
impl PartialOrd for TupleIndex
source§fn partial_cmp(&self, other: &TupleIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &TupleIndex) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<usize> for TupleIndex
impl TryFrom<usize> for TupleIndex
impl Copy for TupleIndex
impl Eq for TupleIndex
impl StructuralPartialEq for TupleIndex
Auto Trait Implementations§
impl Freeze for TupleIndex
impl RefUnwindSafe for TupleIndex
impl Send for TupleIndex
impl Sync for TupleIndex
impl Unpin for TupleIndex
impl UnwindSafe for TupleIndex
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more