Struct term_grid::Grid [] [src]

pub struct Grid { /* fields omitted */ }

Everything needed to format the cells with the grid options.

For more information, see the module-level documentation.

Methods

impl Grid
[src]

[src]

Creates a new grid view with the given options.

[src]

Reserves space in the vector for the given number of additional cells to be added. (See vec#reserve)

[src]

Adds another cell onto the vector.

[src]

Returns a displayable grid that's been packed to fit into the given width in the fewest number of rows.

Returns None if any of the cells has a width greater than the maximum width.

[src]

Returns a displayable grid with the given number of columns, and no maximum width.

Trait Implementations

impl PartialEq for Grid
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for Grid
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Grid

impl Sync for Grid