TermInfo

Trait TermInfo 

Source
pub trait TermInfo {
    // Required method
    fn size(&mut self) -> Option<Size>;
}
Expand description

Trait to get the size of the terminal

Required Methods§

Source

fn size(&mut self) -> Option<Size>

Returns the size of this stream in the terminal

Implementations on Foreign Types§

Source§

impl TermInfo for Stderr

Source§

fn size(&mut self) -> Option<Size>

Source§

impl TermInfo for Stdin

Source§

fn size(&mut self) -> Option<Size>

Source§

impl TermInfo for Stdout

Source§

fn size(&mut self) -> Option<Size>

Implementors§