Struct array_map::IndexU8 [−][src]
#[repr(transparent)]#[must_use]pub struct IndexU8<const N: u8>(_);
Expand description
This struct implements Indexable and allows all values in 0..N
Implementations
Trait Implementations
impl<'de, const N: u8> Deserialize<'de> for IndexU8<N>[src]
impl<'de, const N: u8> Deserialize<'de> for IndexU8<N>[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
impl<const N: u8> Indexable for IndexU8<N>[src]
impl<const N: u8> Indexable for IndexU8<N>[src]impl<const N: u8> Ord for IndexU8<N>[src]
impl<const N: u8> Ord for IndexU8<N>[src]impl<const N: u8> PartialOrd<IndexU8<N>> for IndexU8<N>[src]
impl<const N: u8> PartialOrd<IndexU8<N>> for IndexU8<N>[src]fn partial_cmp(&self, other: &IndexU8<N>) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &IndexU8<N>) -> Option<Ordering>[src]This method returns an ordering between self and other values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl<const N: u8> ReverseIndexable for IndexU8<N>[src]
impl<const N: u8> ReverseIndexable for IndexU8<N>[src]fn from_index(u: usize) -> Self[src]
fn from_index(u: usize) -> Self[src]Converts from a usize to Self
impl<const N: u8> Copy for IndexU8<N>[src]
impl<const N: u8> Eq for IndexU8<N>[src]
impl<const N: u8> StructuralEq for IndexU8<N>[src]
impl<const N: u8> StructuralPartialEq for IndexU8<N>[src]
Auto Trait Implementations
impl<const N: u8> Send for IndexU8<N>
impl<const N: u8> Sync for IndexU8<N>
impl<const N: u8> Unpin for IndexU8<N>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,