pub struct VideoColorInfo { /* private fields */ }Implementations§
Source§impl VideoColorInfo
impl VideoColorInfo
Sourcepub const fn new(matrix: VideoColorMatrix, range: VideoColorRange) -> Self
pub const fn new(matrix: VideoColorMatrix, range: VideoColorRange) -> Self
Construct explicit source color metadata.
Sourcepub const fn unspecified() -> Self
pub const fn unspecified() -> Self
Construct metadata for a producer that did not specify color properties.
Sourcepub const fn matrix(self) -> VideoColorMatrix
pub const fn matrix(self) -> VideoColorMatrix
Return the source matrix coefficients.
Sourcepub const fn range(self) -> VideoColorRange
pub const fn range(self) -> VideoColorRange
Return the source component range.
Trait Implementations§
Source§impl Clone for VideoColorInfo
impl Clone for VideoColorInfo
impl Copy for VideoColorInfo
Source§impl Debug for VideoColorInfo
impl Debug for VideoColorInfo
impl Eq for VideoColorInfo
Source§impl PartialEq for VideoColorInfo
impl PartialEq for VideoColorInfo
impl StructuralPartialEq for VideoColorInfo
Auto Trait Implementations§
impl Forget for VideoColorInfo
impl Freeze for VideoColorInfo
impl Move for VideoColorInfo
impl RefUnwindSafe for VideoColorInfo
impl Send for VideoColorInfo
impl Sync for VideoColorInfo
impl Unpin for VideoColorInfo
impl UnsafeUnpin for VideoColorInfo
impl UnwindSafe for VideoColorInfo
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