pub struct Table { /* private fields */ }Implementations§
Source§impl Table
impl Table
pub fn new<T>(name: &str, area: (T, T)) -> Selfwhere
T: Into<CellCoordinates>,
pub fn is_ok(&self) -> bool
pub fn get_name(&self) -> &str
pub fn set_name(&mut self, name: &str)
pub fn get_display_name(&self) -> &str
pub fn set_display_name(&mut self, display_name: &str)
pub fn get_area(&self) -> &(Coordinate, Coordinate)
pub fn set_area<T>(&mut self, area: (T, T))where
T: Into<CellCoordinates>,
pub fn add_column(&mut self, col: TableColumn)
pub fn get_columns(&self) -> &[TableColumn]
pub fn get_style_info(&self) -> Option<&TableStyleInfo>
pub fn set_style_info(&mut self, style_info: Option<TableStyleInfo>)
pub fn get_totals_row_shown(&self) -> &bool
pub fn set_totals_row_shown(&mut self, value: bool)
pub fn get_totals_row_count(&self) -> &u32
pub fn set_totals_row_count(&mut self, value: u32)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
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