Enum rustsynth::format::ColorFamily
source · pub enum ColorFamily {
Undefined,
Gray,
RGB,
YUV,
}
Variants§
Trait Implementations§
source§impl Clone for ColorFamily
impl Clone for ColorFamily
source§fn clone(&self) -> ColorFamily
fn clone(&self) -> ColorFamily
Returns a copy 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 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<ColorFamily> for ColorFamily
impl PartialEq<ColorFamily> for ColorFamily
source§fn eq(&self, other: &ColorFamily) -> bool
fn eq(&self, other: &ColorFamily) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ColorFamily> for ColorFamily
impl PartialOrd<ColorFamily> for ColorFamily
source§fn partial_cmp(&self, other: &ColorFamily) -> Option<Ordering>
fn partial_cmp(&self, other: &ColorFamily) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ColorFamily
impl Eq for ColorFamily
impl StructuralEq for ColorFamily
impl StructuralPartialEq for ColorFamily
Auto Trait Implementations§
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