pub struct TableBuilder { /* private fields */ }
Implementations§
Source§impl TableBuilder
impl TableBuilder
pub fn new() -> TableBuilder
pub fn table_fixed<S: ToString>(&mut self, uid: S, width: usize) -> TableRef
pub fn table_soft<S: ToString>(&mut self, uid: S, min_width: usize) -> TableRef
pub fn with_half_padding( &mut self, table: TableRef, hp: usize, ) -> Result<(), TableError>
pub fn create_row_fixed( &mut self, table_ref: TableRef, columns: &[Option<usize>], ) -> Result<RowRef, TableError>
pub fn create_row_soft( &mut self, table_ref: TableRef, columns: Vec<SoftColumn>, ) -> Result<RowRef, TableError>
pub fn row( &self, row_ref: RowRef, class: &str, values: Vec<String>, drawer: &mut TableDrawer, ) -> Result<String, TableError>
pub fn styles(&self, drawer: &TableDrawer) -> String
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 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