pub struct TableBuilder { /* private fields */ }Implementations§
Source§impl TableBuilder
impl TableBuilder
pub fn new() -> Self
pub fn headers(self, header_labels: &[&str]) -> Self
pub fn header_cells(self, cells: Vec<Cell>) -> Self
pub fn row(self, cells: Vec<Cell>) -> Self
pub fn row_str(self, cells: &[&str]) -> Self
pub fn column_widths(self, widths: Vec<f64>) -> Self
pub fn row_height(self, height: f64) -> Self
pub fn border(self, border: Border) -> Self
pub fn header_bg(self, color: Color) -> Self
pub fn position(self, x: f64, y: f64) -> Self
pub fn width(self, w: f64) -> Self
pub fn header_position(self, pos: HeaderPosition) -> Self
pub fn build(self) -> TableConfig
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TableBuilder
impl RefUnwindSafe for TableBuilder
impl Send for TableBuilder
impl Sync for TableBuilder
impl Unpin for TableBuilder
impl UnsafeUnpin for TableBuilder
impl UnwindSafe for TableBuilder
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