pub struct LiveOptions {
pub transient: bool,
pub screen: bool,
pub redirect_stdout: bool,
pub redirect_stderr: bool,
pub vertical_overflow: VerticalOverflow,
pub refresh_on_start: bool,
}Expand description
The options of a Live display that are not its renderable, console or
sink: upstream’s Live(...) keyword arguments, for
Live::spawn_options. The defaults are upstream’s.
Fields§
§transient: boolClear the display when it stops (upstream transient, default false).
screen: boolUse the alternate screen (upstream screen, default false).
redirect_stdout: boolPrint what is written to AutoLive::stdout through the display
(upstream redirect_stdout, default true).
redirect_stderr: boolThe same for AutoLive::stderr (upstream redirect_stderr).
vertical_overflow: VerticalOverflowWhat to do with a frame taller than the screen (upstream
vertical_overflow, default VerticalOverflow::Ellipsis).
refresh_on_start: boolDraw the first frame as the display starts (upstream
start(refresh=True), default true). When false the refresh thread
draws it at its first tick.
Trait Implementations§
Source§impl Clone for LiveOptions
impl Clone for LiveOptions
impl Copy for LiveOptions
Source§impl Debug for LiveOptions
impl Debug for LiveOptions
Source§impl Default for LiveOptions
impl Default for LiveOptions
Source§impl PartialEq for LiveOptions
impl PartialEq for LiveOptions
impl StructuralPartialEq for LiveOptions
Auto Trait Implementations§
impl Freeze for LiveOptions
impl RefUnwindSafe for LiveOptions
impl Send for LiveOptions
impl Sync for LiveOptions
impl Unpin for LiveOptions
impl UnsafeUnpin for LiveOptions
impl UnwindSafe for LiveOptions
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