pub struct ComposedCell {
pub ch: char,
pub width: usize,
pub styles: Vec<StyleId>,
pub source: ComposedCellSource,
}Expand description
A cell in a composed (decoration-aware) snapshot.
Fields§
§ch: charThe rendered character.
width: usizeThe rendered cell width (typically 1 or 2).
styles: Vec<StyleId>Style ids applied to this cell.
source: ComposedCellSourceWhere this cell originated from (document text vs virtual text).
Trait Implementations§
Source§impl Clone for ComposedCell
impl Clone for ComposedCell
Source§impl Debug for ComposedCell
impl Debug for ComposedCell
impl Eq for ComposedCell
Source§impl PartialEq for ComposedCell
impl PartialEq for ComposedCell
impl StructuralPartialEq for ComposedCell
Auto Trait Implementations§
impl Forget for ComposedCell
impl Freeze for ComposedCell
impl Move for ComposedCell
impl RefUnwindSafe for ComposedCell
impl Send for ComposedCellwhere
RawVecInner: Send,
impl Sync for ComposedCellwhere
RawVecInner: Sync,
impl Unpin for ComposedCell
impl UnsafeUnpin for ComposedCell
impl UnwindSafe for ComposedCellwhere
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