Struct pseudoterm::RawTerminal[][src]

pub struct RawTerminal<F: AsRawFd> { /* fields omitted */ }

A structure that will automatically reset terminal mode when dropped

Methods

impl<F: AsRawFd> RawTerminal<F>
[src]

Switch the terminal to raw mode and return a wrapper that will exit raw mode automatically when dropped

Like new(), but ignores any failure. Useful for switching to raw mode only if that's actually possible.

Trait Implementations

impl<F: AsRawFd> Deref for RawTerminal<F>
[src]

The resulting type after dereferencing.

Dereferences the value.

impl<F: AsRawFd> DerefMut for RawTerminal<F>
[src]

Mutably dereferences the value.

impl<F: AsRawFd> Drop for RawTerminal<F>
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

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

impl<F> Sync for RawTerminal<F> where
    F: Sync