pub struct ModelCell {
pub text: String,
pub fg: PackedRgba,
pub bg: PackedRgba,
pub attrs: CellAttrs,
pub link_id: u32,
}Expand description
A single cell in the terminal model grid.
Fields§
§text: StringText content (grapheme cluster). Default is space.
fg: PackedRgbaForeground color.
bg: PackedRgbaBackground color.
attrs: CellAttrsStyle flags (bold, italic, etc.).
link_id: u32Hyperlink ID (0 = no link).
Implementations§
Trait Implementations§
impl Eq for ModelCell
impl StructuralPartialEq for ModelCell
Auto Trait Implementations§
impl Freeze for ModelCell
impl RefUnwindSafe for ModelCell
impl Send for ModelCell
impl Sync for ModelCell
impl Unpin for ModelCell
impl UnsafeUnpin for ModelCell
impl UnwindSafe for ModelCell
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