pub struct NowMessageBoxStyle(/* private fields */);Expand description
Message box style; Directly maps to the WinAPI MessageBox function message box style field.
NOW_PROTO: style field from NOW_SESSION_MESSAGE_BOX_REQ_MSG
Implementations§
Source§impl NowMessageBoxStyle
impl NowMessageBoxStyle
pub const OK: Self
pub const OK_CANCEL: Self
pub const ABORT_RETRY_IGNORE: Self
pub const YES_NO_CANCEL: Self
pub const YES_NO: Self
pub const RETRY_CANCEL: Self
pub const CANCEL_TRY_CONTINUE: Self
pub const HELP: Self
pub fn new(style: u32) -> Self
pub fn value(&self) -> u32
Trait Implementations§
Source§impl Clone for NowMessageBoxStyle
impl Clone for NowMessageBoxStyle
Source§fn clone(&self) -> NowMessageBoxStyle
fn clone(&self) -> NowMessageBoxStyle
Returns a duplicate 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 NowMessageBoxStyle
impl Debug for NowMessageBoxStyle
Source§impl PartialEq for NowMessageBoxStyle
impl PartialEq for NowMessageBoxStyle
impl Copy for NowMessageBoxStyle
impl Eq for NowMessageBoxStyle
impl StructuralPartialEq for NowMessageBoxStyle
Auto Trait Implementations§
impl Freeze for NowMessageBoxStyle
impl RefUnwindSafe for NowMessageBoxStyle
impl Send for NowMessageBoxStyle
impl Sync for NowMessageBoxStyle
impl Unpin for NowMessageBoxStyle
impl UnwindSafe for NowMessageBoxStyle
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