Struct mortal::terminal::PrepareState [] [src]

#[must_use = "the result of `terminal.prepare()` should be passed to `terminal.restore()` to restore terminal to its original state"]
pub struct PrepareState(_);

Represents a previous device state of a Terminal.

A value of this type is returned by Terminal::prepare.

Required to revert terminal state using Terminal::restore.

Trait Implementations

Auto Trait Implementations

impl Send for PrepareState

impl Sync for PrepareState