pub enum ToastAnimationPhase {
Entering,
Visible,
Exiting,
Hidden,
}Expand description
Animation phase for toast lifecycle.
Toasts progress through these phases: Entering → Visible → Exiting → Hidden. The animation system tracks progress within each phase.
Variants§
Entering
Toast is animating in (slide/fade entrance).
Visible
Toast is fully visible (no animation).
Exiting
Toast is animating out (slide/fade exit).
Hidden
Toast has completed exit animation.
Trait Implementations§
Source§impl Clone for ToastAnimationPhase
impl Clone for ToastAnimationPhase
Source§fn clone(&self) -> ToastAnimationPhase
fn clone(&self) -> ToastAnimationPhase
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 ToastAnimationPhase
impl Debug for ToastAnimationPhase
Source§impl Default for ToastAnimationPhase
impl Default for ToastAnimationPhase
Source§fn default() -> ToastAnimationPhase
fn default() -> ToastAnimationPhase
Returns the “default value” for a type. Read more
Source§impl PartialEq for ToastAnimationPhase
impl PartialEq for ToastAnimationPhase
impl Copy for ToastAnimationPhase
impl Eq for ToastAnimationPhase
impl StructuralPartialEq for ToastAnimationPhase
Auto Trait Implementations§
impl Freeze for ToastAnimationPhase
impl RefUnwindSafe for ToastAnimationPhase
impl Send for ToastAnimationPhase
impl Sync for ToastAnimationPhase
impl Unpin for ToastAnimationPhase
impl UnwindSafe for ToastAnimationPhase
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
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.