Struct linefeed::terminal::Size [] [src]

pub struct Size {
    pub lines: usize,
    pub columns: usize,
}

Represents the size of a terminal window

Fields

Number of lines in the terminal

Number of columns in the terminal

Trait Implementations

impl Copy for Size
[src]

impl Clone for Size
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Size
[src]

Formats the value using the given formatter. Read more

impl Eq for Size
[src]

impl PartialEq for Size
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Size

impl Sync for Size