Enum egui_notify::ToastLevel
source · pub enum ToastLevel {
Info,
Warning,
Error,
Success,
None,
Custom(String, Color32),
}
Expand description
Level of importance
Variants§
Trait Implementations§
source§impl Clone for ToastLevel
impl Clone for ToastLevel
source§fn clone(&self) -> ToastLevel
fn clone(&self) -> ToastLevel
Returns a copy 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 ToastLevel
impl Debug for ToastLevel
source§impl Default for ToastLevel
impl Default for ToastLevel
source§fn default() -> ToastLevel
fn default() -> ToastLevel
Returns the “default value” for a type. Read more
source§impl PartialEq for ToastLevel
impl PartialEq for ToastLevel
source§fn eq(&self, other: &ToastLevel) -> bool
fn eq(&self, other: &ToastLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ToastLevel
impl StructuralPartialEq for ToastLevel
Auto Trait Implementations§
impl Freeze for ToastLevel
impl RefUnwindSafe for ToastLevel
impl Send for ToastLevel
impl Sync for ToastLevel
impl Unpin for ToastLevel
impl UnwindSafe for ToastLevel
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