pub enum AlertChoice {
Confirm,
Cancel,
}Expand description
Which button an AlertDialog reported.
Variants§
Trait Implementations§
Source§impl Clone for AlertChoice
impl Clone for AlertChoice
Source§fn clone(&self) -> AlertChoice
fn clone(&self) -> AlertChoice
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 moreSource§impl Debug for AlertChoice
impl Debug for AlertChoice
Source§impl PartialEq for AlertChoice
impl PartialEq for AlertChoice
Source§fn eq(&self, other: &AlertChoice) -> bool
fn eq(&self, other: &AlertChoice) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AlertChoice
impl Eq for AlertChoice
impl StructuralPartialEq for AlertChoice
Auto Trait Implementations§
impl Freeze for AlertChoice
impl RefUnwindSafe for AlertChoice
impl Send for AlertChoice
impl Sync for AlertChoice
impl Unpin for AlertChoice
impl UnsafeUnpin for AlertChoice
impl UnwindSafe for AlertChoice
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