[][src]Struct qt_widgets::q_dialog::DialogCode

#[repr(transparent)]
pub struct DialogCode(_);

The value returned by a modal dialog.

C++ enum: QDialog::DialogCode.

C++ documentation:

The value returned by a modal dialog.

Methods

impl DialogCode[src]

pub fn to_int(&self) -> c_int[src]

impl DialogCode[src]

pub const Rejected: DialogCode[src]

C++ enum variant: Rejected = 0

pub const Accepted: DialogCode[src]

C++ enum variant: Accepted = 1

Trait Implementations

impl From<i32> for DialogCode[src]

impl From<DialogCode> for c_int[src]

impl Clone for DialogCode[src]

impl Copy for DialogCode[src]

impl Eq for DialogCode[src]

impl PartialEq<DialogCode> for DialogCode[src]

impl Debug for DialogCode[src]

impl StructuralPartialEq for DialogCode[src]

impl StructuralEq for DialogCode[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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 = Infallible

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]

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

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]