pub struct CellData<'a> { /* private fields */ }Expand description
Data for a single terminal cell including character and colors.
CellData represents the visual content of one terminal cell, including
the character to display and its foreground and background colors.
Colors are specified as RGB values packed into 32-bit integers.
§Color Format
Colors use the format 0xRRGGBB where:
- RR: Red component
- GG: Green component
- BB: Blue component
Implementations§
Trait Implementations§
impl<'a> Copy for CellData<'a>
Auto Trait Implementations§
impl<'a> Freeze for CellData<'a>
impl<'a> RefUnwindSafe for CellData<'a>
impl<'a> Send for CellData<'a>
impl<'a> Sync for CellData<'a>
impl<'a> Unpin for CellData<'a>
impl<'a> UnsafeUnpin for CellData<'a>
impl<'a> UnwindSafe for CellData<'a>
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