pub struct LoopOptions {
pub height: Option<usize>,
pub transient: bool,
pub color_system: Option<Option<ColorSystem>>,
pub no_color: bool,
}Expand description
How an EventLoop paints.
Fields§
§height: Option<usize>Rows the inline region may take (default: the terminal’s height).
transient: boolClear the region when the loop ends, instead of leaving the last view on screen.
color_system: Option<Option<ColorSystem>>The colours to paint with. None: the headless driver paints
truecolor, a terminal what rich detects.
no_color: boolTrait Implementations§
Source§impl Clone for LoopOptions
impl Clone for LoopOptions
Source§impl Debug for LoopOptions
impl Debug for LoopOptions
Auto Trait Implementations§
impl Freeze for LoopOptions
impl RefUnwindSafe for LoopOptions
impl Send for LoopOptions
impl Sync for LoopOptions
impl Unpin for LoopOptions
impl UnsafeUnpin for LoopOptions
impl UnwindSafe for LoopOptions
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