pub struct Padding(_);Expand description
Padding is responsible for a left/right/top/bottom inner indent of a particular cell.
let table = Table::new(&data).with(Modify::new(Rows::single(0)).with(Padding::new(0, 0, 1, 1).set_fill('>', '<', '^', 'V')));Implementations
Trait Implementations
sourceimpl CellOption for Padding
impl CellOption for Padding
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 Padding
impl Send for Padding
impl Sync for Padding
impl Unpin for Padding
impl UnwindSafe for Padding
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