Enum win_msgbox::DefaultButton
source · #[repr(u32)]
pub enum DefaultButton {
DefaultButton1,
DefaultButton2,
DefaultButton3,
DefaultButton4,
}Expand description
Specifies the default button of the dialog box.
The meaning of the nth button is determined by the type (Options).
Variants§
DefaultButton1
The first button is the default button.
DefaultButton2
The second button is the default button.
DefaultButton3
The third button is the default button.
DefaultButton4
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<DefaultButton> for DefaultButton
impl PartialEq<DefaultButton> for DefaultButton
source§fn eq(&self, other: &DefaultButton) -> bool
fn eq(&self, other: &DefaultButton) -> bool
This method tests for
self and other values to be equal, and is used
by ==.