pub enum ColorMode {
Rgb,
Rgba,
Bgra,
Bgr,
}
Variants§
Rgb
Rgb (red, green, blue) -no alpha
Rgba
Rgba (red, green, blue, alpha)
Bgra
Bgra (blue, green, red, alpha)
Bgr
Implementations§
Trait Implementations§
impl Copy for ColorMode
impl StructuralPartialEq for ColorMode
Auto Trait Implementations§
impl Freeze for ColorMode
impl RefUnwindSafe for ColorMode
impl Send for ColorMode
impl Sync for ColorMode
impl Unpin for ColorMode
impl UnwindSafe for ColorMode
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