pub struct TableRow {
pub height: f64,
pub cells: Vec<TableCell>,
pub style: Option<CellStyle>,
pub custom_data: i32,
}Expand description
A row in a table.
Fields§
§height: f64Row height.
cells: Vec<TableCell>Cells in this row.
style: Option<CellStyle>Row style override.
custom_data: i32Custom data value.
Implementations§
Source§impl TableRow
impl TableRow
Sourcepub fn from_texts(texts: &[&str]) -> Self
pub fn from_texts(texts: &[&str]) -> Self
Creates a row from cell values.
Sourcepub fn cell_count(&self) -> usize
pub fn cell_count(&self) -> usize
Returns the number of cells.
Trait Implementations§
impl StructuralPartialEq for TableRow
Auto Trait Implementations§
impl Freeze for TableRow
impl RefUnwindSafe for TableRow
impl Send for TableRow
impl Sync for TableRow
impl Unpin for TableRow
impl UnsafeUnpin for TableRow
impl UnwindSafe for TableRow
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