pub struct Cell {
pub text: String,
pub style: CellStyle,
pub col_span: usize,
}Expand description
A single table cell containing text and style.
Fields§
§text: StringText content to display in the cell.
style: CellStyleVisual style for this cell (font, color, padding, overflow, alignment).
col_span: usizeNumber of columns this cell spans (default 1, must be >= 1).
Implementations§
Trait Implementations§
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