pub enum ToastIcon {
Success,
Error,
Warning,
Info,
Custom(char),
}Expand description
Icon displayed in the toast to indicate message type.
Variants§
Success
Success indicator (checkmark).
Error
Error indicator (X mark).
Warning
Warning indicator (exclamation).
Info
Information indicator (i).
Custom(char)
Custom single character.
Implementations§
Trait Implementations§
impl Copy for ToastIcon
impl Eq for ToastIcon
impl StructuralPartialEq for ToastIcon
Auto Trait Implementations§
impl Freeze for ToastIcon
impl RefUnwindSafe for ToastIcon
impl Send for ToastIcon
impl Sync for ToastIcon
impl Unpin for ToastIcon
impl UnwindSafe for ToastIcon
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.