pub struct Spinner {
pub frames: Vec<String>,
pub fps: Duration,
}Expand description
Spinner is a set of frames used in animating the spinner.
Fields§
§frames: Vec<String>The frames of the spinner animation.
fps: DurationThe frames-per-second rate at which the spinner animates.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Spinner
impl RefUnwindSafe for Spinner
impl Send for Spinner
impl Sync for Spinner
impl Unpin for Spinner
impl UnsafeUnpin for Spinner
impl UnwindSafe for Spinner
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