pub enum TextMode {
Transparent {
colour: (u8, u8, u8),
},
Shaded {
foreground: (u8, u8, u8),
background: (u8, u8, u8),
},
}Expand description
Set the mode for drawing text.
Variants
Transparent
Render the text transparently.
Shaded
Render the text with a foreground and a background colour.
This creates a box around the text.
Auto Trait Implementations
impl RefUnwindSafe for TextMode
impl Send for TextMode
impl Sync for TextMode
impl Unpin for TextMode
impl UnwindSafe for TextMode
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