Struct pseudoterm::Termios [−][src]
pub struct Termios(_);
A cross-platform wrapper around underlying the termios representation
Methods
impl Termios
[src]
impl Termios
pub fn new(inner: termios) -> Self
[src]
pub fn new(inner: termios) -> Self
Create a new instance from inner platform dependant data
pub fn inner(&self) -> &termios
[src]
pub fn inner(&self) -> &termios
Get the inner termios representation. WARNING: Platform dependant.
pub fn inner_mut(&mut self) -> &mut termios
[src]
pub fn inner_mut(&mut self) -> &mut termios
Get a mutable reference to the inner termios representation. WARNING: Platform dependant.
pub fn make_raw(self) -> Self
[src]
pub fn make_raw(self) -> Self
Return the raw mode of this representation
Trait Implementations
impl Clone for Termios
[src]
impl Clone for Termios
fn clone(&self) -> Termios
[src]
fn clone(&self) -> Termios
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Termios
[src]
impl Copy for Termios