Struct crossterm_winapi::ConsoleMode [−][src]
pub struct ConsoleMode { /* fields omitted */ }
Expand description
A wrapper around a screen buffer, focusing on calls to get and set the console mode.
This wraps SetConsoleMode
and GetConsoleMode
.
Implementations
Create a new ConsoleMode
instance.
This will use the standard output as its handle.
When you explicitly want to specify the handle used for the function calls use ConsoleMode::from(handle)
instead.
Set the console mode to the given console mode.
This function sets the dwMode
.
This wraps
SetConsoleMode
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ConsoleMode
impl Send for ConsoleMode
impl Sync for ConsoleMode
impl Unpin for ConsoleMode
impl UnwindSafe for ConsoleMode
Blanket Implementations
Mutably borrows from an owned value. Read more