#[non_exhaustive]pub enum ContentDialogResult {
None,
Primary,
Secondary,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ContentDialogResult
impl Clone for ContentDialogResult
Source§fn clone(&self) -> ContentDialogResult
fn clone(&self) -> ContentDialogResult
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 ContentDialogResult
Source§impl Debug for ContentDialogResult
impl Debug for ContentDialogResult
Source§impl Default for ContentDialogResult
impl Default for ContentDialogResult
Source§fn default() -> ContentDialogResult
fn default() -> ContentDialogResult
Returns the “default value” for a type. Read more
impl Eq for ContentDialogResult
Source§impl PartialEq for ContentDialogResult
impl PartialEq for ContentDialogResult
impl StructuralPartialEq for ContentDialogResult
Auto Trait Implementations§
impl Freeze for ContentDialogResult
impl RefUnwindSafe for ContentDialogResult
impl Send for ContentDialogResult
impl Sync for ContentDialogResult
impl Unpin for ContentDialogResult
impl UnsafeUnpin for ContentDialogResult
impl UnwindSafe for ContentDialogResult
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