pub enum MatrixColor {
Black,
Green,
White,
Red,
Cyan,
Magenta,
Blue,
Yellow,
}Variants§
Trait Implementations§
Source§impl Clone for MatrixColor
impl Clone for MatrixColor
Source§fn clone(&self) -> MatrixColor
fn clone(&self) -> MatrixColor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MatrixColor
Source§impl Debug for MatrixColor
impl Debug for MatrixColor
impl Eq for MatrixColor
Source§impl PartialEq for MatrixColor
impl PartialEq for MatrixColor
Source§fn eq(&self, other: &MatrixColor) -> bool
fn eq(&self, other: &MatrixColor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MatrixColor
Auto Trait Implementations§
impl Freeze for MatrixColor
impl RefUnwindSafe for MatrixColor
impl Send for MatrixColor
impl Sync for MatrixColor
impl Unpin for MatrixColor
impl UnsafeUnpin for MatrixColor
impl UnwindSafe for MatrixColor
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