#[repr(transparent)]pub struct LargeSpur { /* private fields */ }Expand description
A key type taking up size_of::<usize>() bytes of space (generally 4 or 8 bytes)
Internally is a NonZeroUsize to allow for space optimizations when stored inside of an Option
Implementations§
source§impl LargeSpur
 
impl LargeSpur
sourcepub const fn into_inner(self) -> NonZeroUsize
 
pub const fn into_inner(self) -> NonZeroUsize
Returns the NonZeroUsize backing the current LargeSpur
Trait Implementations§
source§impl Key for LargeSpur
 
impl Key for LargeSpur
source§fn try_from_usize(int: usize) -> Option<Self>
 
fn try_from_usize(int: usize) -> Option<Self>
Returns None if int is greater than usize::MAX - 1
source§fn into_usize(self) -> usize
 
fn into_usize(self) -> usize
Returns the 
usize that represents the current keysource§impl Ord for LargeSpur
 
impl Ord for LargeSpur
source§impl PartialEq<LargeSpur> for LargeSpur
 
impl PartialEq<LargeSpur> for LargeSpur
source§impl PartialOrd<LargeSpur> for LargeSpur
 
impl PartialOrd<LargeSpur> for LargeSpur
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