pub enum AnsiOrCustom {
Ansi(u8),
Custom(CustomColor),
}Variants§
Ansi(u8)
Custom(CustomColor)
Trait Implementations§
Source§impl Clone for AnsiOrCustom
impl Clone for AnsiOrCustom
Source§fn clone(&self) -> AnsiOrCustom
fn clone(&self) -> AnsiOrCustom
Returns a duplicate 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 AnsiOrCustom
impl Debug for AnsiOrCustom
Source§impl From<u8> for AnsiOrCustom
impl From<u8> for AnsiOrCustom
impl Copy for AnsiOrCustom
Auto Trait Implementations§
impl Freeze for AnsiOrCustom
impl RefUnwindSafe for AnsiOrCustom
impl Send for AnsiOrCustom
impl Sync for AnsiOrCustom
impl Unpin for AnsiOrCustom
impl UnwindSafe for AnsiOrCustom
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