pub enum SampleContainer {
U8,
U16,
U32Packed,
}Expand description
The word a sample is stored in.
Variants§
U8
One 8-bit byte, holding the whole sample.
U16
A 16-bit word; a sample narrower than 16 bits sits in its high bits (P010, P012), as
every 16-bit-container video format does.
U32Packed
A 32-bit word holding a packed sample (Y410).
Trait Implementations§
Source§impl Clone for SampleContainer
impl Clone for SampleContainer
impl Copy for SampleContainer
Source§impl Debug for SampleContainer
impl Debug for SampleContainer
impl Eq for SampleContainer
Source§impl PartialEq for SampleContainer
impl PartialEq for SampleContainer
impl StructuralPartialEq for SampleContainer
Auto Trait Implementations§
impl Freeze for SampleContainer
impl RefUnwindSafe for SampleContainer
impl Send for SampleContainer
impl Sync for SampleContainer
impl Unpin for SampleContainer
impl UnsafeUnpin for SampleContainer
impl UnwindSafe for SampleContainer
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.