Enum tuifw_screen_base::Fg
source · [−]pub enum Fg {
Show 16 variants
Black,
Red,
Green,
Brown,
Blue,
Magenta,
Cyan,
LightGray,
DarkGray,
LightRed,
LightGreen,
Yellow,
LightBlue,
LightMagenta,
LightCyan,
White,
}
Variants
Black
Red
Green
Brown
Blue
Magenta
Cyan
LightGray
DarkGray
LightRed
LightGreen
Yellow
LightBlue
LightMagenta
LightCyan
White
Implementations
sourceimpl Fg
impl Fg
pub fn iter_variants() -> FgVariantsⓘNotable traits for FgVariantsimpl Iterator for FgVariants type Item = Fg;
Trait Implementations
sourceimpl Display for Fg
impl Display for Fg
sourcefn fmt(&self, f: &mut std_fmt_Formatter<'_>) -> std_fmt_Result
fn fmt(&self, f: &mut std_fmt_Formatter<'_>) -> std_fmt_Result
Formats the value using the given formatter. Read more
sourceimpl Ord for Fg
impl Ord for Fg
sourceimpl PartialOrd<Fg> for Fg
impl PartialOrd<Fg> for Fg
sourcefn partial_cmp(&self, other: &Fg) -> Option<Ordering>
fn partial_cmp(&self, other: &Fg) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for Fg
impl Eq for Fg
impl StructuralEq for Fg
impl StructuralPartialEq for Fg
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more