pub struct IndicatorOptions {
pub frames: Vec<String>,
pub interval_ms: u64,
}Expand description
Options for configuring the working indicator’s appearance.
Mirrors pi’s LoaderIndicatorOptions / WorkingIndicatorOptions.
Fields§
§frames: Vec<String>Animation frames. Empty array hides the indicator entirely.
interval_ms: u64Frame interval in milliseconds for animated indicators.
Trait Implementations§
Source§impl Clone for IndicatorOptions
impl Clone for IndicatorOptions
Source§fn clone(&self) -> IndicatorOptions
fn clone(&self) -> IndicatorOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IndicatorOptions
impl RefUnwindSafe for IndicatorOptions
impl Send for IndicatorOptions
impl Sync for IndicatorOptions
impl Unpin for IndicatorOptions
impl UnsafeUnpin for IndicatorOptions
impl UnwindSafe for IndicatorOptions
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