pub enum HighlightType {
Show 17 variants
Black,
Blue,
Cyan,
Green,
Magenta,
Red,
Yellow,
White,
DarkBlue,
DarkCyan,
DarkGreen,
DarkMagenta,
DarkRed,
DarkYellow,
DarkGray,
LightGray,
None,
}
Variants§
Black
Blue
Cyan
Green
Magenta
Red
Yellow
White
DarkBlue
DarkCyan
DarkGreen
DarkMagenta
DarkRed
DarkYellow
DarkGray
LightGray
None
Trait Implementations§
Source§impl Clone for HighlightType
impl Clone for HighlightType
Source§fn clone(&self) -> HighlightType
fn clone(&self) -> HighlightType
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 HighlightType
impl Debug for HighlightType
Source§impl Display for HighlightType
impl Display for HighlightType
Source§impl From<HighlightType> for Highlight
impl From<HighlightType> for Highlight
Source§fn from(val: HighlightType) -> Self
fn from(val: HighlightType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HighlightType
impl RefUnwindSafe for HighlightType
impl Send for HighlightType
impl Sync for HighlightType
impl Unpin for HighlightType
impl UnwindSafe for HighlightType
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