pub struct Span { /* private fields */ }Expand description
Span represent a horizontal/column span setting for any cell on a crate::Table.
let table = Table::new(&data)
.with(Modify::new(Columns::single(0)).with(Span::column(2)));Implementations
Trait Implementations
sourceimpl CellOption for Span
impl CellOption for Span
sourcefn change_cell(&mut self, grid: &mut Grid, row: usize, column: usize)
fn change_cell(&mut self, grid: &mut Grid, row: usize, column: usize)
Modification function of a single cell.
Auto Trait Implementations
impl RefUnwindSafe for Span
impl Send for Span
impl Sync for Span
impl Unpin for Span
impl UnwindSafe for Span
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more