#[repr(u8)]pub enum FormatFamily {
Gray = 0,
Yuv = 1,
PlanarRgb = 2,
}Expand description
High-level pixel family.
Variants§
Gray = 0
Single-plane luma format.
Yuv = 1
Three-plane YUV format.
PlanarRgb = 2
Three-plane planar RGB format.
Trait Implementations§
Source§impl Clone for FormatFamily
impl Clone for FormatFamily
Source§fn clone(&self) -> FormatFamily
fn clone(&self) -> FormatFamily
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FormatFamily
impl Debug for FormatFamily
Source§impl PartialEq for FormatFamily
impl PartialEq for FormatFamily
Source§fn eq(&self, other: &FormatFamily) -> bool
fn eq(&self, other: &FormatFamily) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FormatFamily
impl Eq for FormatFamily
impl StructuralPartialEq for FormatFamily
Auto Trait Implementations§
impl Freeze for FormatFamily
impl RefUnwindSafe for FormatFamily
impl Send for FormatFamily
impl Sync for FormatFamily
impl Unpin for FormatFamily
impl UnsafeUnpin for FormatFamily
impl UnwindSafe for FormatFamily
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