pub enum ColorTarget {
Text,
Background,
Border,
}
Expand description
The target of the color change.
Variants§
Text
The text of the content.
Background
The background of the content.
Border
The border surrounding the content.
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 PartialEq for ColorTarget
impl PartialEq for ColorTarget
impl Copy 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