pub enum ColorFamily {
Undefined = 0,
Gray = 1,
RGB = 2,
YUV = 3,
}Expand description
Format color families.
Variants§
Trait Implementations§
Source§impl Clone for ColorFamily
impl Clone for ColorFamily
Source§fn clone(&self) -> ColorFamily
fn clone(&self) -> ColorFamily
Returns a duplicate of the value. Read more
1.0.0 · 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 ColorFamily
impl Debug for ColorFamily
Source§impl Display for ColorFamily
impl Display for ColorFamily
Source§impl Hash for ColorFamily
impl Hash for ColorFamily
Source§impl Ord for ColorFamily
impl Ord for ColorFamily
Source§fn cmp(&self, other: &ColorFamily) -> Ordering
fn cmp(&self, other: &ColorFamily) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ColorFamily
impl PartialEq for ColorFamily
Source§impl PartialOrd for ColorFamily
impl PartialOrd for ColorFamily
impl Copy for ColorFamily
impl Eq for ColorFamily
impl StructuralPartialEq for ColorFamily
Auto Trait Implementations§
impl Freeze for ColorFamily
impl RefUnwindSafe for ColorFamily
impl Send for ColorFamily
impl Sync for ColorFamily
impl Unpin for ColorFamily
impl UnwindSafe for ColorFamily
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