pub enum RefreshIndicatorStatus {
Drag,
Armed,
Snap,
Refresh,
Done,
Canceled,
}Expand description
Indicates current status of Material RefreshIndicator.
Variants§
Drag
Pointer is down.
Armed
Dragged far enough that an up event will run the on_refresh callback.
Snap
Animating to the indicator’s final “displacement”.
Refresh
Running the refresh callback.
Done
Animating the indicator’s fade-out after refreshing.
Canceled
Animating the indicator’s fade-out after not arming.
Trait Implementations§
Source§impl Clone for RefreshIndicatorStatus
impl Clone for RefreshIndicatorStatus
impl Copy for RefreshIndicatorStatus
Source§impl Debug for RefreshIndicatorStatus
impl Debug for RefreshIndicatorStatus
impl Eq for RefreshIndicatorStatus
Source§impl PartialEq for RefreshIndicatorStatus
impl PartialEq for RefreshIndicatorStatus
impl StructuralPartialEq for RefreshIndicatorStatus
Auto Trait Implementations§
impl Forget for RefreshIndicatorStatus
impl Freeze for RefreshIndicatorStatus
impl Move for RefreshIndicatorStatus
impl RefUnwindSafe for RefreshIndicatorStatus
impl Send for RefreshIndicatorStatus
impl Sync for RefreshIndicatorStatus
impl Unpin for RefreshIndicatorStatus
impl UnsafeUnpin for RefreshIndicatorStatus
impl UnwindSafe for RefreshIndicatorStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.