Enum fltk::group::experimental::XtermColor
source · #[non_exhaustive]#[repr(u8)]pub enum XtermColor {
Black = 0,
Red = 1,
Green = 2,
Yellow = 3,
Blue = 4,
Magenta = 5,
Cyan = 6,
White = 7,
}
Expand description
‘xterm color’ values, used in set_text_fg_color_xterm and set_text_bg_color_xterm
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.
Trait Implementations§
source§impl Clone for XtermColor
impl Clone for XtermColor
source§fn clone(&self) -> XtermColor
fn clone(&self) -> XtermColor
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 XtermColor
impl Debug for XtermColor
source§impl PartialEq for XtermColor
impl PartialEq for XtermColor
source§fn eq(&self, other: &XtermColor) -> bool
fn eq(&self, other: &XtermColor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for XtermColor
impl Eq for XtermColor
impl StructuralEq for XtermColor
impl StructuralPartialEq for XtermColor
Auto Trait Implementations§
impl RefUnwindSafe for XtermColor
impl Send for XtermColor
impl Sync for XtermColor
impl Unpin for XtermColor
impl UnwindSafe for XtermColor
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