Struct text_grid::RowBuf

source ·
pub struct RowBuf<'a> { /* private fields */ }
Expand description

A builder used to create row of GridBuf.

This structure is created by GridBuf::push_row.

Implementations§

Append a cell to the right of row.

Append a multi-column cell to the right of row.

  • cell : Contents of cell to be appended.
  • colspan : Number of columns used by the cell to be appended.

if colspan == 0, this method will do nothing.

Trait Implementations§

Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.