pub struct StateIndex(pub usize);Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for StateIndex
impl Clone for StateIndex
Source§fn clone(&self) -> StateIndex
fn clone(&self) -> StateIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StateIndex
impl Debug for StateIndex
Source§impl From<StateIndex> for usize
impl From<StateIndex> for usize
Source§fn from(value: StateIndex) -> Self
fn from(value: StateIndex) -> Self
Converts to this type from the input type.
Source§impl Hash for StateIndex
impl Hash for StateIndex
Source§impl Ord for StateIndex
impl Ord for StateIndex
Source§fn cmp(&self, other: &StateIndex) -> Ordering
fn cmp(&self, other: &StateIndex) -> Ordering
1.21.0 (const: unstable) · 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 StateIndex
impl PartialEq for StateIndex
Source§fn eq(&self, other: &StateIndex) -> bool
fn eq(&self, other: &StateIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for StateIndex
impl PartialOrd for StateIndex
impl Copy for StateIndex
impl Eq for StateIndex
impl StructuralPartialEq for StateIndex
Auto Trait Implementations§
impl Freeze for StateIndex
impl RefUnwindSafe for StateIndex
impl Send for StateIndex
impl Sync for StateIndex
impl Unpin for StateIndex
impl UnsafeUnpin for StateIndex
impl UnwindSafe for StateIndex
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