Struct array_map::IndexU16 [−][src]
#[repr(transparent)]pub struct IndexU16<const N: u16>(_);
Expand description
This struct implements Indexable
and allows all values in 0..N
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
The number of bytes it will take to represent this type in a set. Read more
The type of Iterator that will be returned by Self::iter()
Maps self to usize to know which value in the underling array to use Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Converts from a usize to Self
Auto Trait Implementations
impl<const N: u16> RefUnwindSafe for IndexU16<N>
impl<const N: u16> UnwindSafe for IndexU16<N>
Blanket Implementations
Mutably borrows from an owned value. Read more