pub enum Colour {
White = 7,
Yellow = 6,
Magenta = 5,
Red = 4,
Cyan = 3,
Green = 2,
Blue = 1,
Black = 0,
}
Variants§
Implementations§
Source§impl Colour
impl Colour
Sourcepub fn into_pixels(self) -> XRGBColour
pub fn into_pixels(self) -> XRGBColour
Generate 8 pixels in RGB which are all this colour
Trait Implementations§
impl Copy for Colour
impl Eq for Colour
impl StructuralPartialEq for Colour
Auto Trait Implementations§
impl Freeze for Colour
impl RefUnwindSafe for Colour
impl Send for Colour
impl Sync for Colour
impl Unpin for Colour
impl UnwindSafe for Colour
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