pub enum ValueArray<'a> {
Bit8(&'a [u8]),
Bit12Left(&'a [u16]),
Bit12Right(&'a [u16]),
}
Expand description
Array variant of Value
.
Variants§
Bit8(&'a [u8])
8 bit values
Bit12Left(&'a [u16])
12 bit value stored in a u16, left-aligned
Bit12Right(&'a [u16])
12 bit values stored in a u16, right-aligned
Trait Implementations§
source§impl<'a> Clone for ValueArray<'a>
impl<'a> Clone for ValueArray<'a>
source§fn clone(&self) -> ValueArray<'a>
fn clone(&self) -> ValueArray<'a>
Returns a copy 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<'a> Debug for ValueArray<'a>
impl<'a> Debug for ValueArray<'a>
source§impl<'a> Format for ValueArray<'a>
impl<'a> Format for ValueArray<'a>
source§impl<'a> PartialEq for ValueArray<'a>
impl<'a> PartialEq for ValueArray<'a>
impl<'a> Copy for ValueArray<'a>
impl<'a> Eq for ValueArray<'a>
impl<'a> StructuralPartialEq for ValueArray<'a>
Auto Trait Implementations§
impl<'a> Freeze for ValueArray<'a>
impl<'a> RefUnwindSafe for ValueArray<'a>
impl<'a> Send for ValueArray<'a>
impl<'a> Sync for ValueArray<'a>
impl<'a> Unpin for ValueArray<'a>
impl<'a> UnwindSafe for ValueArray<'a>
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
)