pub enum StorageUnit {
Packed(BitOrder),
Byte,
Word16(ByteOrder),
Word32(ByteOrder),
Word64(ByteOrder),
}Expand description
The physical unit containing one sample.
Variants§
Packed(BitOrder)
Samples occupy a continuous packed-bit stream.
Byte
Each sample occupies one byte.
Word16(ByteOrder)
Each sample occupies a 16-bit word.
Word32(ByteOrder)
Each sample occupies a 32-bit word.
Word64(ByteOrder)
Each sample occupies a 64-bit word.
Trait Implementations§
Source§impl Clone for StorageUnit
impl Clone for StorageUnit
impl Copy for StorageUnit
Source§impl Debug for StorageUnit
impl Debug for StorageUnit
impl Eq for StorageUnit
Source§impl Hash for StorageUnit
impl Hash for StorageUnit
Source§impl PartialEq for StorageUnit
impl PartialEq for StorageUnit
impl StructuralPartialEq for StorageUnit
Auto Trait Implementations§
impl Freeze for StorageUnit
impl RefUnwindSafe for StorageUnit
impl Send for StorageUnit
impl Sync for StorageUnit
impl Unpin for StorageUnit
impl UnsafeUnpin for StorageUnit
impl UnwindSafe for StorageUnit
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