pub struct Cell {
pub char: char,
pub attrs: CellAttributes,
pub width: u8,
}Expand description
A single cell in the screen buffer.
Fields§
§char: charThe character in this cell.
attrs: CellAttributesText attributes.
width: u8Width of the character (1 for normal, 2 for wide chars).
Trait Implementations§
impl Eq for Cell
impl StructuralPartialEq for Cell
Auto Trait Implementations§
impl Freeze for Cell
impl RefUnwindSafe for Cell
impl Send for Cell
impl Sync for Cell
impl Unpin for Cell
impl UnwindSafe for Cell
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