[][src]Struct tuikit::raw::RawTerminal

pub struct RawTerminal<W: Write + AsRawFd> { /* fields omitted */ }

A terminal restorer, which keeps the previous state of the terminal, and restores it, when dropped.

Restoring will entirely bring back the old TTY state.

Trait Implementations

impl<W: Write + AsRawFd> AsRawFd for RawTerminal<W>[src]

impl<W: Write + AsRawFd> Deref for RawTerminal<W>[src]

type Target = W

The resulting type after dereferencing.

impl<W: Write + AsRawFd> DerefMut for RawTerminal<W>[src]

impl<W: Write + AsRawFd> Drop for RawTerminal<W>[src]

impl<W: Write + AsRawFd> Write for RawTerminal<W>[src]

Auto Trait Implementations

impl<W> !RefUnwindSafe for RawTerminal<W>

impl<W> Send for RawTerminal<W> where
    W: Send

impl<W> !Sync for RawTerminal<W>

impl<W> Unpin for RawTerminal<W> where
    W: Unpin

impl<W> UnwindSafe for RawTerminal<W> where
    W: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<W> IntoRawMode for W where
    W: Write + AsRawFd
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WriteAndAsRawFdAndSend for T where
    T: Write + AsRawFd + Send
[src]