pub struct Ycbcr {
pub encoding: ColorEncoding,
pub range: ColorRange,
}Expand description
How a plane converts a layer’s YCbCr to RGB: its COLOR_ENCODING and
COLOR_RANGE.
Fields§
§encoding: ColorEncodingThe matrix.
range: ColorRangeThe range.
Trait Implementations§
impl Copy for Ycbcr
impl Eq for Ycbcr
impl StructuralPartialEq for Ycbcr
Auto Trait Implementations§
impl Freeze for Ycbcr
impl RefUnwindSafe for Ycbcr
impl Send for Ycbcr
impl Sync for Ycbcr
impl Unpin for Ycbcr
impl UnsafeUnpin for Ycbcr
impl UnwindSafe for Ycbcr
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