pub struct SparseEntry {
pub index: u16,
pub value: i16,
}Expand description
A single sparse delta entry: index + quantized value.
Fields§
§index: u16§value: i16Trait Implementations§
Source§impl Clone for SparseEntry
impl Clone for SparseEntry
Source§fn clone(&self) -> SparseEntry
fn clone(&self) -> SparseEntry
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 Debug for SparseEntry
impl Debug for SparseEntry
impl Copy for SparseEntry
Auto Trait Implementations§
impl Freeze for SparseEntry
impl RefUnwindSafe for SparseEntry
impl Send for SparseEntry
impl Sync for SparseEntry
impl Unpin for SparseEntry
impl UnsafeUnpin for SparseEntry
impl UnwindSafe for SparseEntry
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