#[non_exhaustive]pub enum Sgr {
}
Expand description
Select Graphic Rendition parameter.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Reset
Bold
BoldOff
Italic
ItalicOff
Underline
UnderlineOff
ColorFgRgb(u32)
ColorFgName(ColorName)
ColorFgNameBright(ColorName)
ResetColorFg
ColorBgRgb(u32)
ColorBgName(ColorName)
ColorBgNameBright(ColorName)
ResetColorBg
Trait Implementations§
source§impl From<&Sgr> for ColorEffect
impl From<&Sgr> for ColorEffect
impl Eq for Sgr
impl StructuralEq for Sgr
impl StructuralPartialEq for Sgr
Auto Trait Implementations§
impl RefUnwindSafe for Sgr
impl Send for Sgr
impl Sync for Sgr
impl Unpin for Sgr
impl UnwindSafe for Sgr
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.