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 Forget for Cell
impl Freeze for Cell
impl Move for Cell
impl RefUnwindSafe for Cell
impl Send for Cellwhere
RawVecInner: Send,
impl Sync for Cellwhere
RawVecInner: Sync,
impl Unpin for Cell
impl UnsafeUnpin for Cell
impl UnwindSafe for Cellwhere
RawVecInner: UnwindSafe,
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