Enum tuifw_screen_base::Bg
source · pub enum Bg {
None,
Black,
Red,
Green,
Brown,
Blue,
Magenta,
Cyan,
LightGray,
}
Variants§
Implementations§
source§impl Bg
impl Bg
pub fn iter_variants() -> BgVariants ⓘ
Trait Implementations§
source§impl Ord for Bg
impl Ord for Bg
source§impl PartialOrd for Bg
impl PartialOrd for Bg
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 moresource§impl Display for Bg
impl Display for Bg
source§fn 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
impl Copy for Bg
impl Eq for Bg
impl StructuralPartialEq for Bg
Auto Trait Implementations§
impl Freeze for Bg
impl RefUnwindSafe for Bg
impl Send for Bg
impl Sync for Bg
impl Unpin for Bg
impl UnwindSafe for Bg
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