#[non_exhaustive]pub enum PlaneRole {
Luma,
Cb,
Cr,
Green,
Blue,
Red,
Alpha,
}Expand description
What a plane holds.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Luma
Y.
Cb
Cb (U).
Cr
Cr (V).
Green
G (planar RGB, AV1 identity matrix).
Blue
B.
Red
R.
Alpha
Alpha.
Trait Implementations§
impl Copy for PlaneRole
impl Eq for PlaneRole
impl StructuralPartialEq for PlaneRole
Auto Trait Implementations§
impl Freeze for PlaneRole
impl RefUnwindSafe for PlaneRole
impl Send for PlaneRole
impl Sync for PlaneRole
impl Unpin for PlaneRole
impl UnsafeUnpin for PlaneRole
impl UnwindSafe for PlaneRole
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