[][src]Struct pseudoterm::RawTerminal

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> Drop for RawTerminal<F>
[src]

Executes the destructor for this type. Read more

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.

Auto Trait Implementations

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

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

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

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

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Mutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more