pub enum Pacing {
Timer,
EachFrame,
Batches,
DeviceAttributes,
}Expand description
How a run keeps its output in step with the terminal.
Variants§
Timer
The frame clock alone, for terminals that answer no queries.
EachFrame
Wait for the terminal after every frame.
Batches
Wait after every batch of commands, sized for a multiplexer.
DeviceAttributes
Wait for the device attributes answer after every frame, for a terminal without kitty graphics that answered the probe.
Implementations§
Source§impl Pacing
impl Pacing
Sourcepub fn for_terminal(caps: &Capabilities) -> Self
pub fn for_terminal(caps: &Capabilities) -> Self
The pacing caps can support.
Trait Implementations§
impl Copy for Pacing
impl Eq for Pacing
impl StructuralPartialEq for Pacing
Auto Trait Implementations§
impl Forget for Pacing
impl Freeze for Pacing
impl Move for Pacing
impl RefUnwindSafe for Pacing
impl Send for Pacing
impl Sync for Pacing
impl Unpin for Pacing
impl UnsafeUnpin for Pacing
impl UnwindSafe for Pacing
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