Enum tuifw_screen_base::Bg
source · [−]pub enum Bg {
None,
Black,
Red,
Green,
Brown,
Blue,
Magenta,
Cyan,
LightGray,
}
Variants
None
Black
Red
Green
Brown
Blue
Magenta
Cyan
LightGray
Implementations
sourceimpl Bg
impl Bg
pub fn iter_variants() -> BgVariantsⓘNotable traits for BgVariantsimpl Iterator for BgVariants type Item = Bg;
Trait Implementations
sourceimpl Display for Bg
impl Display for Bg
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 Bg
impl Ord for Bg
sourceimpl PartialOrd<Bg> for Bg
impl PartialOrd<Bg> for Bg
sourcefn partial_cmp(&self, other: &Bg) -> Option<Ordering>
fn partial_cmp(&self, other: &Bg) -> 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 Bg
impl Eq for Bg
impl StructuralEq for Bg
impl StructuralPartialEq for Bg
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