pub enum NoticeTone {
Info,
Positive,
Warning,
Error,
}Expand description
Semantic tone for notices and status messages.
Variants§
Trait Implementations§
Source§impl Clone for NoticeTone
impl Clone for NoticeTone
Source§fn clone(&self) -> NoticeTone
fn clone(&self) -> NoticeTone
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NoticeTone
Source§impl Debug for NoticeTone
impl Debug for NoticeTone
Source§impl Default for NoticeTone
impl Default for NoticeTone
Source§fn default() -> NoticeTone
fn default() -> NoticeTone
Returns the “default value” for a type. Read more
impl Eq for NoticeTone
Source§impl PartialEq for NoticeTone
impl PartialEq for NoticeTone
impl StructuralPartialEq for NoticeTone
Auto Trait Implementations§
impl Freeze for NoticeTone
impl RefUnwindSafe for NoticeTone
impl Send for NoticeTone
impl Sync for NoticeTone
impl Unpin for NoticeTone
impl UnsafeUnpin for NoticeTone
impl UnwindSafe for NoticeTone
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