Enum color_thief::ColorFormat
source · [−]pub enum ColorFormat {
Rgb,
Rgba,
Argb,
Bgr,
Bgra,
}
Expand description
Represent a color format of an underlying image data.
Variants
Rgb
Rgba
Argb
Bgr
Bgra
Trait Implementations
sourceimpl Clone for ColorFormat
impl Clone for ColorFormat
sourcefn clone(&self) -> ColorFormat
fn clone(&self) -> ColorFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ColorFormat
impl Debug for ColorFormat
sourceimpl PartialEq<ColorFormat> for ColorFormat
impl PartialEq<ColorFormat> for ColorFormat
impl Copy for ColorFormat
impl StructuralPartialEq for ColorFormat
Auto Trait Implementations
impl RefUnwindSafe for ColorFormat
impl Send for ColorFormat
impl Sync for ColorFormat
impl Unpin for ColorFormat
impl UnwindSafe for ColorFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more