Type Alias rustix::termios::Winsize

source ·
pub type Winsize = winsize;
Expand description

struct winsize for use with tcgetwinsize.

Aliased Type§

struct Winsize {
    pub ws_row: u16,
    pub ws_col: u16,
    pub ws_xpixel: u16,
    pub ws_ypixel: u16,
}

Fields§

§ws_row: u16§ws_col: u16§ws_xpixel: u16§ws_ypixel: u16

Trait Implementations

source§

impl Clone for winsize

source§

fn clone(&self) -> winsize

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for winsize

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Copy for winsize