pub enum AlertVariant {
Success,
Error,
}Expand description
The alert variant determining the visual style.
Variants§
Trait Implementations§
Source§impl Clone for AlertVariant
impl Clone for AlertVariant
impl Copy for AlertVariant
Source§impl Debug for AlertVariant
impl Debug for AlertVariant
Source§impl Default for AlertVariant
impl Default for AlertVariant
impl Eq for AlertVariant
Source§impl PartialEq for AlertVariant
impl PartialEq 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