Struct term_grid::Display [] [src]

pub struct Display<'grid> { /* fields omitted */ }

A displayable representation of a Grid.

Methods

impl<'grid> Display<'grid>
[src]

Returns how many columns this display takes up, based on the separator width and the number and width of the columns.

Returns whether this display takes up as many columns as were allotted to it.

It's possible to construct tables that don't actually use up all the columns that they could, such as when there are more columns than cells! In this case, a column would have a width of zero. This just checks for that.

Trait Implementations

impl<'grid> PartialEq for Display<'grid>
[src]

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

This method tests for !=.

impl<'grid> Debug for Display<'grid>
[src]

Formats the value using the given formatter.

impl<'grid> Display for Display<'grid>
[src]

Formats the value using the given formatter.