pub struct Primaries(pub u64);Expand description
The color primaries of the video. For clarity,
the value and meanings for Primaries are adopted from Table 2 of [@!ITU-H.273].
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Element for Primaries
impl Element for Primaries
Source§const HAS_DEFAULT_VALUE: bool = true
const HAS_DEFAULT_VALUE: bool = true
Whether the element has a default value, as per Matroska specification.
If true, and the element is missing in a master element, it should be treated as if it were present with the default value.
If false, and the element is missing in a master element, it should be treated as an error.
Source§fn decode_body(buf: &mut &[u8]) -> Result<Self>
fn decode_body(buf: &mut &[u8]) -> Result<Self>
Decode the body of the element from a buffer.
Source§impl Ord for Primaries
impl Ord for Primaries
Source§impl PartialOrd for Primaries
impl PartialOrd for Primaries
impl Copy for Primaries
impl Eq for Primaries
impl StructuralPartialEq for Primaries
Auto Trait Implementations§
impl Freeze for Primaries
impl RefUnwindSafe for Primaries
impl Send for Primaries
impl Sync for Primaries
impl Unpin for Primaries
impl UnsafeUnpin for Primaries
impl UnwindSafe for Primaries
Blanket Implementations§
Source§impl<T> AsyncReadElement for Twhere
T: Element,
impl<T> AsyncReadElement for Twhere
T: Element,
Source§impl<T> AsyncReadFrom for Twhere
T: Element,
impl<T> AsyncReadFrom for Twhere
T: Element,
Source§impl<T> AsyncWriteElement for Twhere
T: Element,
impl<T> AsyncWriteElement for Twhere
T: Element,
Source§impl<T> AsyncWriteTo for Twhere
T: Encode,
impl<T> AsyncWriteTo for Twhere
T: Encode,
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