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§impl Debug for QueueAction
impl Debug for QueueAction
impl Eq for QueueAction
Source§impl PartialEq for QueueAction
impl PartialEq 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 UnsafeUnpin 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