pub struct Grid {
pub default_options: Options,
pub column_width: Option<usize>,
pub padding_size: Option<usize>,
pub rows: Vec<Row>,
}
Expand description
Data type for crating a Grid
.
Fields§
§default_options: Options
These options will be used if the equivalent is not provided
by the underlying Row
type.
column_width: Option<usize>
Width in chars for each column of the Grid
.
padding_size: Option<usize>
Number of char spaces for each padding space between grid columns.
rows: Vec<Row>
Collection of rows that this Grid
contains.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Grid
impl RefUnwindSafe for Grid
impl Send for Grid
impl Sync for Grid
impl Unpin for Grid
impl UnwindSafe for Grid
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