pub struct TuiCell {
pub ch: char,
pub fg: (u8, u8, u8),
pub bg: (u8, u8, u8),
pub bold: bool,
}Expand description
Cell in the TUI buffer.
Fields§
§ch: charCharacter at this position.
fg: (u8, u8, u8)Foreground color (RGB).
bg: (u8, u8, u8)Background color (RGB).
bold: boolBold attribute.
Trait Implementations§
impl StructuralPartialEq for TuiCell
Auto Trait Implementations§
impl Freeze for TuiCell
impl RefUnwindSafe for TuiCell
impl Send for TuiCell
impl Sync for TuiCell
impl Unpin for TuiCell
impl UnwindSafe for TuiCell
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