pub enum Pixel {
Rgb(u8, u8, u8),
Rgba(u8, u8, u8, u8),
Mask,
}
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for Pixel
impl PartialEq for Pixel
impl Copy for Pixel
impl Eq for Pixel
impl StructuralPartialEq for Pixel
Auto Trait Implementations§
impl Freeze for Pixel
impl RefUnwindSafe for Pixel
impl Send for Pixel
impl Sync for Pixel
impl Unpin for Pixel
impl UnwindSafe for Pixel
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