Enum tmux_interface::styles::style::Style
source · pub enum Style {
Show 43 variants
Fg(Colour),
Bg(Colour),
Us(Colour),
NoStyle,
Acs,
NoAcs,
Bright,
NoBright,
Bold,
NoBold,
Dim,
NoDim,
Underscore,
NoUnderscore,
Blink,
NoBlink,
Reverse,
NoReverse,
Hidden,
NoHidden,
Italics,
NoItalics,
Overline,
NoOverline,
Strikethrough,
NoStrikethrough,
DoubleUnderscore,
NoDoubleUnderscore,
CurlyUnderscore,
NoCurlyUnderscore,
DottedUnderscore,
NoDottedUnderscore,
DashedUnderscore,
NoDashedUnderscore,
Align(Align),
NoAlign,
Fill(Colour),
List(List),
NoList,
PushDefault,
PopDefault,
Range(Range),
NoRange,
}
Variants§
Fg(Colour)
Set the foreground colour
Bg(Colour)
Set the background colour
Us(Colour)
NoStyle
Set no attributes (turn off any active attributes)
Acs
Set an attribute. Any of the attributes may be prefixed with ‘no’ to unset. acs is the terminal alternate character set.
NoAcs
Bright
NoBright
Bold
NoBold
Dim
NoDim
Underscore
NoUnderscore
Blink
NoBlink
Reverse
NoReverse
Hidden
NoHidden
Italics
NoItalics
Overline
NoOverline
Strikethrough
NoStrikethrough
DoubleUnderscore
NoDoubleUnderscore
CurlyUnderscore
NoCurlyUnderscore
DottedUnderscore
NoDottedUnderscore
DashedUnderscore
NoDashedUnderscore
Align(Align)
NoAlign
Fill(Colour)
Fill the available space with a background colour if appropriate
List(List)
list
NoList
PushDefault
PopDefault
Range(Range)
NoRange
Trait Implementations§
source§impl Ord for Style
impl Ord for Style
source§impl PartialEq for Style
impl PartialEq for Style
source§impl PartialOrd for Style
impl PartialOrd for Style
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Style
impl StructuralPartialEq for Style
Auto Trait Implementations§
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
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