pub struct Cell {
pub content: String,
pub style: Option<Style>,
pub colspan: usize,
pub rowspan: usize,
}Expand description
A single cell in a table row, with optional styling and spanning.
Fields§
§content: StringThe text content of the cell.
style: Option<Style>Optional per-cell style.
colspan: usizeNumber of columns this cell spans (default 1).
rowspan: usizeNumber of rows this cell spans (default 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