pub struct ColorInfo {
pub primaries: Option<String>,
pub transfer_characteristics: Option<String>,
pub matrix_coefficients: Option<String>,
}
Expand description
Represents color information for a video format
Fields§
§primaries: Option<String>
Primary colors used
transfer_characteristics: Option<String>
Transfer characteristics
matrix_coefficients: Option<String>
Matrix coefficients
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ColorInfo
impl<'de> Deserialize<'de> for ColorInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ColorInfo
impl RefUnwindSafe for ColorInfo
impl Send for ColorInfo
impl Sync for ColorInfo
impl Unpin for ColorInfo
impl UnwindSafe for ColorInfo
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