[][src]Enum dialog::Choice

pub enum Choice {
    Yes,
    No,
    Cancel,
}

A user choise in a dialog box.

Variants

Yes

The yes button.

No

The no button.

Cancel

The cancel button or a cancelled dialog.

Trait Implementations

impl Clone for Choice[src]

impl Copy for Choice[src]

impl PartialEq<Choice> for Choice[src]

impl Debug for Choice[src]

impl StructuralPartialEq for Choice[src]

Auto Trait Implementations

impl Send for Choice

impl Sync for Choice

impl Unpin for Choice

impl UnwindSafe for Choice

impl RefUnwindSafe for Choice

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]