pub enum QueueAction {
Show(ToastId),
Hide(ToastId),
Reposition(ToastId),
}Expand description
Actions returned by tick() to be processed by the application.
Variants§
Show(ToastId)
Show a new toast at the given position.
Hide(ToastId)
Hide an existing toast.
Reposition(ToastId)
Reposition a toast (for stacking adjustments).
Trait Implementations§
Source§impl Clone for QueueAction
impl Clone for QueueAction
Source§fn clone(&self) -> QueueAction
fn clone(&self) -> QueueAction
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 QueueAction
impl Debug for QueueAction
Source§impl PartialEq for QueueAction
impl PartialEq for QueueAction
impl Eq for QueueAction
impl StructuralPartialEq for QueueAction
Auto Trait Implementations§
impl Freeze for QueueAction
impl RefUnwindSafe for QueueAction
impl Send for QueueAction
impl Sync for QueueAction
impl Unpin for QueueAction
impl UnwindSafe for QueueAction
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.