pub struct Cell {
pub symbol: String,
pub style: CellStyle,
pub width: u8,
pub transparent: bool,
}Expand description
A single display cell in the compositor’s internal grid.
Fields§
§symbol: StringThe visual symbol for this cell. Empty when this cell is the second half of a full-width character.
style: CellStyleThe normalized style for this cell.
width: u8Display width: 0 for a continuation spacer, 1 for normal, 2 for
the first half of a full-width character.
transparent: boolWhether this cell is transparent padding beyond the line’s real content.
Trait Implementations§
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 UnsafeUnpin 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