pub enum AlertVariant {
Info,
Destructive,
}Expand description
Alert variant
Variants§
Trait Implementations§
Source§impl Clone for AlertVariant
impl Clone for AlertVariant
Source§fn clone(&self) -> AlertVariant
fn clone(&self) -> AlertVariant
Returns a duplicate 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 AlertVariant
impl Debug for AlertVariant
Source§impl Default for AlertVariant
impl Default for AlertVariant
Source§fn default() -> AlertVariant
fn default() -> AlertVariant
Returns the “default value” for a type. Read more
Source§impl PartialEq for AlertVariant
impl PartialEq for AlertVariant
impl Copy for AlertVariant
impl Eq for AlertVariant
impl StructuralPartialEq for AlertVariant
Auto Trait Implementations§
impl Freeze for AlertVariant
impl RefUnwindSafe for AlertVariant
impl Send for AlertVariant
impl Sync for AlertVariant
impl Unpin for AlertVariant
impl UnsafeUnpin for AlertVariant
impl UnwindSafe for AlertVariant
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