[−][src]Struct cli_grid::Grid
Data type for crating a Grid.
Fields
default_options: OptionsThese 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
impl Grid[src]
pub fn new(rows: Vec<Row>) -> Self[src]
Creates a Grid bye specifying its rows.
pub fn builder(rows: Vec<Row>) -> GridBuilder[src]
Creates a GridBuilder initiated with rows.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Grid
impl Send for Grid
impl Sync for Grid
impl Unpin for Grid
impl UnwindSafe for Grid
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,