Enum zng_view_api::dialog::MsgDialogIcon
source · pub enum MsgDialogIcon {
Info,
Warn,
Error,
}Expand description
Icon of a message dialog.
Defines the overall level style of the dialog.
Variants§
Trait Implementations§
source§impl Clone for MsgDialogIcon
impl Clone for MsgDialogIcon
source§fn clone(&self) -> MsgDialogIcon
fn clone(&self) -> MsgDialogIcon
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 MsgDialogIcon
impl Debug for MsgDialogIcon
source§impl<'de> Deserialize<'de> for MsgDialogIcon
impl<'de> Deserialize<'de> for MsgDialogIcon
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for MsgDialogIcon
impl Hash for MsgDialogIcon
source§impl PartialEq for MsgDialogIcon
impl PartialEq for MsgDialogIcon
source§fn eq(&self, other: &MsgDialogIcon) -> bool
fn eq(&self, other: &MsgDialogIcon) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MsgDialogIcon
impl Serialize for MsgDialogIcon
impl Copy for MsgDialogIcon
impl Eq for MsgDialogIcon
impl StructuralPartialEq for MsgDialogIcon
Auto Trait Implementations§
impl Freeze for MsgDialogIcon
impl RefUnwindSafe for MsgDialogIcon
impl Send for MsgDialogIcon
impl Sync for MsgDialogIcon
impl Unpin for MsgDialogIcon
impl UnwindSafe for MsgDialogIcon
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