pub struct SpinnerState { /* private fields */ }Expand description
State for an animated spinner widget.
Create with SpinnerState::dots or SpinnerState::line, then pass to
Context::spinner each frame. The frame advances automatically with the
tick counter.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpinnerState
impl RefUnwindSafe for SpinnerState
impl Send for SpinnerState
impl Sync for SpinnerState
impl Unpin for SpinnerState
impl UnsafeUnpin for SpinnerState
impl UnwindSafe for SpinnerState
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