pub enum ColourScheme {
CLASSIC,
MODERN,
CUSTOM([[u8; 3]; 16]),
}
Expand description
A collection of colour schemes.
Each entry is a list of 16 RGB values corresponding to the 4-bit colours used by CP437 files
Variants§
CLASSIC
The classic scheme.
MODERN
A modern looking scheme.
CUSTOM([[u8; 3]; 16])
A configurable scheme.
Implementations§
Trait Implementations§
Source§impl Clone for ColourScheme
impl Clone for ColourScheme
Source§fn clone(&self) -> ColourScheme
fn clone(&self) -> ColourScheme
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ColourScheme
impl Debug for ColourScheme
Source§impl PartialEq for ColourScheme
impl PartialEq for ColourScheme
impl Eq for ColourScheme
impl StructuralPartialEq for ColourScheme
Auto Trait Implementations§
impl Freeze for ColourScheme
impl RefUnwindSafe for ColourScheme
impl Send for ColourScheme
impl Sync for ColourScheme
impl Unpin for ColourScheme
impl UnwindSafe for ColourScheme
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.