pub enum FormatColor {
Black,
Blue,
Cyan,
Green,
Magenta,
Red,
White,
Yellow,
Indexed(u8),
}Expand description
Colour from a [Red] or [ColorN] section tag.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for FormatColor
impl Clone for FormatColor
Source§fn clone(&self) -> FormatColor
fn clone(&self) -> FormatColor
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 FormatColor
Source§impl Debug for FormatColor
impl Debug for FormatColor
impl Eq for FormatColor
Source§impl Hash for FormatColor
impl Hash for FormatColor
Source§impl PartialEq for FormatColor
impl PartialEq for FormatColor
impl StructuralPartialEq for FormatColor
Auto Trait Implementations§
impl Freeze for FormatColor
impl RefUnwindSafe for FormatColor
impl Send for FormatColor
impl Sync for FormatColor
impl Unpin for FormatColor
impl UnsafeUnpin for FormatColor
impl UnwindSafe for FormatColor
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.