pub struct WorkingIndicator {
pub frames: Option<Vec<String>>,
pub interval_ms: Option<u64>,
}Expand description
pi’s WorkingIndicatorOptions: the animation shown while the agent works.
Fields§
§frames: Option<Vec<String>>Frames drawn as given, escape sequences included. None keeps the
default spinner frames, and an empty list hides the indicator.
interval_ms: Option<u64>Milliseconds per frame, or None for the default.
Trait Implementations§
Source§impl Clone for WorkingIndicator
impl Clone for WorkingIndicator
Source§impl Debug for WorkingIndicator
impl Debug for WorkingIndicator
Source§impl Default for WorkingIndicator
impl Default for WorkingIndicator
Source§impl PartialEq for WorkingIndicator
impl PartialEq for WorkingIndicator
impl StructuralPartialEq for WorkingIndicator
Auto Trait Implementations§
impl Forget for WorkingIndicator
impl Freeze for WorkingIndicator
impl RefUnwindSafe for WorkingIndicator
impl Send for WorkingIndicator
impl Sync for WorkingIndicator
impl Unpin for WorkingIndicator
impl UnsafeUnpin for WorkingIndicator
impl UnwindSafe for WorkingIndicator
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