pub struct TableRow { /* private fields */ }Expand description
Table row with advanced features
Implementations§
Source§impl TableRow
impl TableRow
Sourcepub fn new(cells: Vec<AdvancedTableCell>) -> Self
pub fn new(cells: Vec<AdvancedTableCell>) -> Self
Create a new row with cells
Sourcepub fn with_height(self, height: f64) -> Self
pub fn with_height(self, height: f64) -> Self
Set row height
Sourcepub fn with_background(self, color: Color) -> Self
pub fn with_background(self, color: Color) -> Self
Set row background color
Sourcepub fn with_can_split(self, can_split: bool) -> Self
pub fn with_can_split(self, can_split: bool) -> Self
Set whether row can be split across pages
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TableRow
impl RefUnwindSafe for TableRow
impl Send for TableRow
impl Sync for TableRow
impl Unpin 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