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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextMode
impl RefUnwindSafe for TextMode
impl Send for TextMode
impl Sync for TextMode
impl Unpin for TextMode
impl UnwindSafe for TextMode
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