pub struct DialogCode(/* private fields */);Expand description
The value returned by a modal dialog.
C++ enum: QDialog::DialogCode.
The value returned by a modal dialog.
Implementations§
Source§impl DialogCode
impl DialogCode
Sourcepub const Rejected: DialogCode
pub const Rejected: DialogCode
C++ enum variant: Rejected = 0
Sourcepub const Accepted: DialogCode
pub const Accepted: DialogCode
C++ enum variant: Accepted = 1
Trait Implementations§
Source§impl Clone for DialogCode
impl Clone for DialogCode
Source§fn clone(&self) -> DialogCode
fn clone(&self) -> DialogCode
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 DialogCode
Source§impl Debug for DialogCode
impl Debug for DialogCode
impl Eq for DialogCode
Source§impl From<DialogCode> for c_int
impl From<DialogCode> for c_int
Source§fn from(value: DialogCode) -> Self
fn from(value: DialogCode) -> Self
Converts to this type from the input type.
Source§impl From<i32> for DialogCode
impl From<i32> for DialogCode
Source§impl PartialEq for DialogCode
impl PartialEq for DialogCode
Source§fn eq(&self, other: &DialogCode) -> bool
fn eq(&self, other: &DialogCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DialogCode
Auto Trait Implementations§
impl Freeze for DialogCode
impl RefUnwindSafe for DialogCode
impl Send for DialogCode
impl Sync for DialogCode
impl Unpin for DialogCode
impl UnsafeUnpin for DialogCode
impl UnwindSafe for DialogCode
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