Struct term_grid::GridOptions [] [src]

pub struct GridOptions {
    pub direction: Direction,
    pub separator_width: Width,
}

The user-assignable options for a grid view that should be passed into Grid::new().

Fields

direction: Direction

Direction that the cells should be written in - either across, or downwards.

separator_width: Width

Number of spaces to put in between each column of cells.

Trait Implementations

impl Clone for GridOptions
[src]

fn clone(&self) -> GridOptions

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for GridOptions
[src]

impl Debug for GridOptions
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for GridOptions
[src]

fn eq(&self, __arg_0: &GridOptions) -> bool

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

fn ne(&self, __arg_0: &GridOptions) -> bool

This method tests for !=.