pub enum Alignment {
Left,
Right,
}Expand description
Alignment of sample data within the on-wire slot when the in-memory sample width is less than the on-wire slot width.
See DataFormat for more details on padding and on-wire slot alignment.
Variants§
Left
Left aligned (MSB-aligned within the on-wire slot).
Right
Right aligned (LSB-aligned within the on-wire slot).
Trait Implementations§
impl Copy for Alignment
Available on crate feature
unstable only.impl Eq for Alignment
Available on crate feature
unstable only.impl StructuralPartialEq for Alignment
Available on crate feature
unstable only.Auto Trait Implementations§
impl Freeze for Alignment
impl RefUnwindSafe for Alignment
impl Send for Alignment
impl Sync for Alignment
impl Unpin for Alignment
impl UnsafeUnpin for Alignment
impl UnwindSafe for Alignment
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)