pub struct SpinnerState {
pub current_frame: usize,
}Expand description
Mutable state for a Spinner widget.
Fields§
§current_frame: usizeIndex of the currently displayed animation frame.
Implementations§
Source§impl SpinnerState
impl SpinnerState
Trait Implementations§
Source§impl Clone for SpinnerState
impl Clone for SpinnerState
Source§fn clone(&self) -> SpinnerState
fn clone(&self) -> SpinnerState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpinnerState
impl Debug for SpinnerState
Source§impl Default for SpinnerState
impl Default for SpinnerState
Source§fn default() -> SpinnerState
fn default() -> SpinnerState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SpinnerState
impl RefUnwindSafe for SpinnerState
impl Send for SpinnerState
impl Sync for SpinnerState
impl Unpin 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