[−][src]Struct cli_grid::CellBuilder 
Builder for the Cell type.
Implementations
impl CellBuilder[src]
pub fn build(self) -> Cell[src]
Builds a Cell from a CellBuilder.
pub fn content(self, content: String) -> Self[src]
Sets the content of the cell. It can be a multi line string or even a nested Grid.
To build the final Cell type, build method must be called.
pub fn col_span(self, col_span: usize) -> Self[src]
pub fn h_align(self, h_align: HAlign) -> Self[src]
Sets the horizontal alignment of the cell.
To build the final Cell type, build method must be called.
pub fn v_align(self, v_align: VAlign) -> Self[src]
pub fn blank_char(self, blank_char: char) -> Self[src]
Auto Trait Implementations
impl RefUnwindSafe for CellBuilder
impl Send for CellBuilder
impl Sync for CellBuilder
impl Unpin for CellBuilder
impl UnwindSafe for CellBuilder
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, 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>,