Struct cranelift_isle::trie_again::TupleIndex
source · pub struct TupleIndex(_);
Expand description
A field index in a tuple or an enum variant.
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<TupleIndex> for TupleIndex
impl PartialEq<TupleIndex> 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<TupleIndex> for TupleIndex
impl PartialOrd<TupleIndex> 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 more