Struct textmode::blocking::ScreenGuard[][src]

pub struct ScreenGuard { /* fields omitted */ }
Expand description

Switches the terminal on stdout to alternate screen mode, and restores it when this object goes out of scope.

Implementations

Switches the terminal on stdout to alternate screen mode and returns a guard object. This is typically called as part of Output::new.

Switch back from alternate screen mode early.

Trait Implementations

Calls cleanup.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.