pub enum ColorTarget {
Foreground,
Background,
Underline,
}Expand description
The target where a color is applied.
Variants§
Trait Implementations§
Source§impl Clone for ColorTarget
impl Clone for ColorTarget
Source§fn clone(&self) -> ColorTarget
fn clone(&self) -> ColorTarget
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 ColorTarget
impl Debug for ColorTarget
Source§impl Hash for ColorTarget
impl Hash for ColorTarget
Source§impl PartialEq for ColorTarget
impl PartialEq for ColorTarget
Source§impl StylingAttribute<Style> for ColorTarget
impl StylingAttribute<Style> for ColorTarget
Source§impl<C: Display> StylingAttribute<Styled<C>> for ColorTarget
impl<C: Display> StylingAttribute<Styled<C>> for ColorTarget
impl Copy for ColorTarget
impl Eq for ColorTarget
impl StructuralPartialEq for ColorTarget
Auto Trait Implementations§
impl Freeze for ColorTarget
impl RefUnwindSafe for ColorTarget
impl Send for ColorTarget
impl Sync for ColorTarget
impl Unpin for ColorTarget
impl UnwindSafe for ColorTarget
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