#[non_exhaustive]pub enum ToastKind {
Info,
Success,
Warn,
Error,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
impl Copy for ToastKind
impl Eq for ToastKind
impl StructuralPartialEq for ToastKind
Auto Trait Implementations§
impl Freeze for ToastKind
impl RefUnwindSafe for ToastKind
impl Send for ToastKind
impl Sync for ToastKind
impl Unpin for ToastKind
impl UnsafeUnpin for ToastKind
impl UnwindSafe for ToastKind
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