[][src]Trait unix_tty::TtyExt

pub trait TtyExt: Sealed {
    pub fn get_tty_size(&self) -> Result<(ushort, ushort), OsErr>;
pub fn set_tty_size(
        &mut self,
        rows: ushort,
        cols: ushort
    ) -> Result<(), OsErr>;
pub fn get_termios(&self) -> Result<Termios, OsErr>;
pub fn set_termios(
        &mut self,
        termios: Termios,
        when: When
    ) -> Result<(), OsErr>; }

Required methods

pub fn get_tty_size(&self) -> Result<(ushort, ushort), OsErr>[src]

pub fn set_tty_size(&mut self, rows: ushort, cols: ushort) -> Result<(), OsErr>[src]

pub fn get_termios(&self) -> Result<Termios, OsErr>[src]

pub fn set_termios(&mut self, termios: Termios, when: When) -> Result<(), OsErr>[src]

Loading content...

Implementations on Foreign Types

impl TtyExt for File[src]

Loading content...

Implementors

Loading content...