pub enum CacheIndex {
U16 {
data: [u8; 2],
},
U24 {
data: [u8; 3],
},
U40 {
data: [u8; 5],
},
U64 {
data: [u8; 9],
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CacheIndex
impl Clone for CacheIndex
Source§fn clone(&self) -> CacheIndex
fn clone(&self) -> CacheIndex
Returns a duplicate 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 From<CacheIndex> for u64
impl From<CacheIndex> for u64
Source§fn from(value: CacheIndex) -> Self
fn from(value: CacheIndex) -> Self
Converts to this type from the input type.
Source§impl From<u64> for CacheIndex
impl From<u64> for CacheIndex
impl Copy for CacheIndex
Auto Trait Implementations§
impl Freeze for CacheIndex
impl RefUnwindSafe for CacheIndex
impl Send for CacheIndex
impl Sync for CacheIndex
impl Unpin for CacheIndex
impl UnwindSafe for CacheIndex
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