pub struct Cell {
pub ch: char,
pub width: usize,
pub styles: Vec<StyleId>,
}Expand description
Cell (character) information
Fields§
§ch: charCharacter content
width: usizeVisual width (1 or 2 cells)
styles: Vec<StyleId>List of applied style IDs
Implementations§
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