pub struct Row {
pub cells: Vec<Cell>,
pub background_color: Option<Color>,
pub height: Option<f64>,
}Expand description
A row of cells in a table.
Fields§
§cells: Vec<Cell>Cells in this row. The sum of col_span values across all cells must
equal the table’s column count.
background_color: Option<Color>Optional background color applied to the entire row. Per-cell background_color takes priority.
height: Option<f64>Fixed row height in points. Required for Clip and Shrink overflow.
When None, height is auto-calculated from cell content (Wrap mode).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Row
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnsafeUnpin for Row
impl UnwindSafe for Row
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