Enum tmux_interface::styles::colour::Colour
source · pub enum Colour {
}
Expand description
if supported the bright variants brightred, brightgreen, brightyellow
Variants§
Black
black
Red
red
Green
green
Yellow
yellow
Blue
blue
Magenta
magenta
Cyan
cyan
White
white
BrightRed
brightred
BrightGreen
brightgreen
BrightYellow
brightyellow
ColourSet256(u8)
colour0 to colour255 from the 256-colour set
Default
default colour
Terminal
terminal default colour
HEX(u32)
hexadecimal RGB string such as ‘#ffffff’
Trait Implementations§
source§impl Ord for Colour
impl Ord for Colour
source§impl PartialEq for Colour
impl PartialEq for Colour
source§impl PartialOrd for Colour
impl PartialOrd for Colour
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 Colour
impl StructuralPartialEq for Colour
Auto Trait Implementations§
impl RefUnwindSafe for Colour
impl Send for Colour
impl Sync for Colour
impl Unpin for Colour
impl UnwindSafe for Colour
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