Struct h264_reader::nal::sps::ColourDescription
source · pub struct ColourDescription {
pub colour_primaries: u8,
pub transfer_characteristics: u8,
pub matrix_coefficients: u8,
}
Fields§
§colour_primaries: u8
§transfer_characteristics: u8
§matrix_coefficients: u8
Trait Implementations§
source§impl Clone for ColourDescription
impl Clone for ColourDescription
source§fn clone(&self) -> ColourDescription
fn clone(&self) -> ColourDescription
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 Debug for ColourDescription
impl Debug for ColourDescription
source§impl Default for ColourDescription
impl Default for ColourDescription
source§fn default() -> ColourDescription
fn default() -> ColourDescription
Returns the “default value” for a type. Read more
source§impl PartialEq for ColourDescription
impl PartialEq for ColourDescription
source§fn eq(&self, other: &ColourDescription) -> bool
fn eq(&self, other: &ColourDescription) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ColourDescription
impl StructuralPartialEq for ColourDescription
Auto Trait Implementations§
impl Freeze for ColourDescription
impl RefUnwindSafe for ColourDescription
impl Send for ColourDescription
impl Sync for ColourDescription
impl Unpin for ColourDescription
impl UnwindSafe for ColourDescription
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