pub struct Span(/* private fields */);
Expand description
Span represent a horizontal/column span setting for any cell on a Table
.
It will be ignored if:
- cell position is out of scope
- size is bigger then the total number of columns.
- size is bigger then the total number of rows.
let table = Table::new(&data)
.with(Modify::new(Columns::single(0)).with(Span::column(2)));
Implementations§
Trait Implementations§
Source§impl<R> CellOption<R> for Spanwhere
R: Records,
impl<R> CellOption<R> for Spanwhere
R: Records,
Source§fn change_cell(&mut self, table: &mut Table<R>, entity: Entity)
fn change_cell(&mut self, table: &mut Table<R>, entity: Entity)
Modification function of a single cell.
Auto Trait Implementations§
impl Freeze for Span
impl RefUnwindSafe for Span
impl Send for Span
impl Sync for Span
impl Unpin for Span
impl UnwindSafe for Span
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