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