pub struct ProgramOptions {
pub tick_rate: Option<Duration>,
pub alternate_screen: bool,
pub mouse_capture: bool,
pub raw_mode: bool,
}Expand description
Configuration for the Program runner.
Fields§
§tick_rate: Option<Duration>Tick interval for animation. None disables ticking.
alternate_screen: boolWhether to enter alternate screen on startup.
mouse_capture: boolWhether to enable mouse capture.
raw_mode: boolWhether to enable raw mode.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProgramOptions
impl RefUnwindSafe for ProgramOptions
impl Send for ProgramOptions
impl Sync for ProgramOptions
impl Unpin for ProgramOptions
impl UnsafeUnpin 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