pub struct Index8;
Expand description
This is a VarZeroVecFormat
that stores u8s in the index array, and a u8 for a length.
Will have a smaller data size, but it’s extremely likely for larger arrays to be unrepresentable (and error on construction). Should probably be used for known-small arrays, where all but the last field are known-small.
Trait Implementations§
source§impl Ord for Index8
impl Ord for Index8
source§impl PartialOrd for Index8
impl PartialOrd for Index8
impl Copy for Index8
impl Eq for Index8
impl StructuralPartialEq for Index8
impl VarZeroVecFormat for Index8
Auto Trait Implementations§
impl Freeze for Index8
impl RefUnwindSafe for Index8
impl Send for Index8
impl Sync for Index8
impl Unpin for Index8
impl UnwindSafe for Index8
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)