pub struct ProgramOptions {
pub alt_screen: bool,
pub mouse_cell_motion: bool,
pub mouse_all_motion: bool,
pub bracketed_paste: bool,
pub report_focus: bool,
pub custom_io: bool,
pub fps: u32,
pub without_signals: bool,
pub without_catch_panics: bool,
}Expand description
Program options.
Fields§
§alt_screen: boolUse alternate screen buffer.
mouse_cell_motion: boolEnable mouse cell motion tracking.
mouse_all_motion: boolEnable mouse all motion tracking.
bracketed_paste: boolEnable bracketed paste mode.
report_focus: boolEnable focus reporting.
custom_io: boolUse custom I/O (skip terminal setup and event polling).
fps: u32Target frames per second for rendering.
without_signals: boolDisable signal handling.
without_catch_panics: boolDon’t catch panics.
Trait Implementations§
Source§impl Clone for ProgramOptions
impl Clone for ProgramOptions
Source§fn clone(&self) -> ProgramOptions
fn clone(&self) -> ProgramOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProgramOptions
impl Debug for ProgramOptions
Auto Trait Implementations§
impl Freeze for ProgramOptions
impl RefUnwindSafe for ProgramOptions
impl Send for ProgramOptions
impl Sync for ProgramOptions
impl Unpin for ProgramOptions
impl UnwindSafe for ProgramOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more