#[repr(u32)]pub enum DefaultButton {
DefaultButton1 = 0,
DefaultButton2 = 256,
DefaultButton3 = 512,
DefaultButton4 = 768,
}
Expand description
Specifies the default button of the dialog box.
The meaning of the nth button is determined by the type (Options).
Variants§
DefaultButton1 = 0
The first button is the default button.
DefaultButton2 = 256
The second button is the default button.
DefaultButton3 = 512
The third button is the default button.
DefaultButton4 = 768
The fourth button is the default button.
Trait Implementations§
Source§impl Clone for DefaultButton
impl Clone for DefaultButton
Source§fn clone(&self) -> DefaultButton
fn clone(&self) -> DefaultButton
Returns a copy of the value. Read more
1.0.0 · 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 DefaultButton
impl Debug for DefaultButton
Source§impl Default for DefaultButton
impl Default for DefaultButton
Source§fn default() -> DefaultButton
fn default() -> DefaultButton
Returns the “default value” for a type. Read more
Source§impl Hash for DefaultButton
impl Hash for DefaultButton
Source§impl PartialEq for DefaultButton
impl PartialEq for DefaultButton
impl Copy for DefaultButton
impl Eq for DefaultButton
impl StructuralPartialEq for DefaultButton
Auto Trait Implementations§
impl Freeze for DefaultButton
impl RefUnwindSafe for DefaultButton
impl Send for DefaultButton
impl Sync for DefaultButton
impl Unpin for DefaultButton
impl UnwindSafe for DefaultButton
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