pub enum GraphicRendition {
Show 56 variants
Default,
HighIntensity,
LowIntensity,
Italicized,
Underlined,
SlowlyBlinking,
RapidlyBlinking,
Negative,
Concealed,
CrossedOut,
PrimaryFont,
FirstAlternativeFont,
SecondAlternativeFont,
ThirdAlternativeFont,
ForthAlternativeFont,
FifthAlternativeFont,
SixthAlternativeFont,
SeventhAlternativeFont,
EighthAlternativeFont,
NinthAlternativeFont,
Fraktur,
DoublyUnderlined,
NormalIntensity,
NormalStyle,
NotUnderlined,
NotBlinking,
Positive,
Revealed,
NotCrossedOut,
BlackForeground,
RedForeground,
GreenForeground,
YellowForeground,
BlueForeground,
MagentaForeground,
CyanForeground,
WhiteForeground,
DefaultForeground,
BlackBackground,
RedBackground,
GreenBackground,
YellowBackground,
BlueBackground,
MagentaBackground,
CyanBackground,
WhiteBackground,
DefaultBackground,
Framed,
Encircled,
Overlined,
NotFramed,
NotOverlined,
IdeogramUnderline,
IdeogramDoubleUnderline,
IdeogramStressMarking,
CancelIdeogramRendition,
}
Expand description
Valid parameter values to the function SGR
.
Variants§
Default
Default rendition (implementation-defined), cancels the effect of any preceding occurrence of SGR
in the
data stream regardless of the setting of the GRAPHIC RENDITION COMBINATION MODE (GRCM
).
HighIntensity
Bold or increased intensity.
LowIntensity
Faint, decreased intensity or second color.
Italicized
Italicized.
Underlined
Singly underlined.
SlowlyBlinking
Slowly blinking (less than 150 per minute).
RapidlyBlinking
Rapidly blinking (more than 150 per minute).
Negative
Negative image.
Concealed
Concealed characters.
CrossedOut
Crossed-out (characters still legible but marked as to be deleted).
PrimaryFont
Primary (default) font.
FirstAlternativeFont
First alternative font.
SecondAlternativeFont
Second alternative font.
ThirdAlternativeFont
Third alternative font.
ForthAlternativeFont
Forth alternative font.
FifthAlternativeFont
Fifth alternative font.
SixthAlternativeFont
Sixth alternative font.
SeventhAlternativeFont
Seventh alternative font.
EighthAlternativeFont
Eighth alternative font.
NinthAlternativeFont
Ninth alternative font.
Fraktur
Fraktur (Gothic).
DoublyUnderlined
Doubly underlined.
NormalIntensity
Normal colour or normal intensity (neither bold nor faint).
NormalStyle
Not italicized, not fraktur
NotUnderlined
Not underlined (neither singly nor doubly).
NotBlinking
Steady (not blinking).
Positive
Positive Image.
Revealed
Revealed characters.
NotCrossedOut
Not crossed out.
BlackForeground
Black display.
RedForeground
Red display.
GreenForeground
Green display.
YellowForeground
Yellow display.
BlueForeground
Blue display.
MagentaForeground
Magenta display.
CyanForeground
Cyan display.
WhiteForeground
White display.
DefaultForeground
Default display color (implementation specific).
BlackBackground
Black background.
RedBackground
Red background.
GreenBackground
Green Background.
YellowBackground
Yellow background.
BlueBackground
Blue background.
MagentaBackground
Magenta background.
CyanBackground
Cyan background.
WhiteBackground
White background.
DefaultBackground
Default background color (implementation specific).
Framed
Framed.
Encircled
Encircled.
Overlined
Overlined.
NotFramed
Not framed, not encircled.
NotOverlined
Not overlined,
IdeogramUnderline
Ideogram underline or right side line.
IdeogramDoubleUnderline
Ideogram double underline or double line on the right side.
IdeogramStressMarking
Ideogram stress marking.
CancelIdeogramRendition
Cancel Ideogram rendition settings.
Trait Implementations§
source§impl Clone for GraphicRendition
impl Clone for GraphicRendition
source§fn clone(&self) -> GraphicRendition
fn clone(&self) -> GraphicRendition
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GraphicRendition
impl Default for GraphicRendition
source§fn default() -> GraphicRendition
fn default() -> GraphicRendition
source§impl PartialEq<GraphicRendition> for GraphicRendition
impl PartialEq<GraphicRendition> for GraphicRendition
source§fn eq(&self, other: &GraphicRendition) -> bool
fn eq(&self, other: &GraphicRendition) -> bool
self
and other
values to be equal, and is used
by ==
.