Struct rustbox::InitOptions
[−]
[src]
pub struct InitOptions { pub input_mode: InputMode, pub output_mode: OutputMode, pub buffer_stderr: bool, }
Fields
input_mode: InputMode
Use this option to initialize with a specific input mode
See InputMode enum for details on the variants.
output_mode: OutputMode
Use this option to initialize with a specific output mode
See OutputMode enum for details on the variants.
buffer_stderr: bool
Use this option to automatically buffer stderr while RustBox is running. It will be written when RustBox exits.
This option uses a nonblocking OS pipe to buffer stderr output. This means that if the pipe fills up, subsequent writes will fail until RustBox exits. If this is a concern for your program, don't use RustBox's default pipe-based redirection; instead, redirect stderr to a log file or another process that is capable of handling it better.
Trait Implementations
impl Clone for InitOptions
[src]
fn clone(&self) -> InitOptions
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more