pub struct DLGC(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
wm::GetDlgCode
return value (u16
).
Implementations§
Source§impl DLGC
impl DLGC
Sourcepub const unsafe fn as_mut(&mut self) -> &mut u16
pub const unsafe fn as_mut(&mut self) -> &mut u16
Returns a mutable reference to the underlying raw value.
§Safety
Be sure the integer being set is meaningful for the actual type.
Sourcepub const unsafe fn from_raw(v: u16) -> Self
pub const unsafe fn from_raw(v: u16) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
Sourcepub const fn raw(&self) -> u16
pub const fn raw(&self) -> u16
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
Source§impl DLGC
impl DLGC
pub const BUTTON: Self
pub const DEFPUSHBUTTON: Self
pub const HASSETSEL: Self
pub const RADIOBUTTON: Self
pub const STATIC: Self
pub const UNDEFPUSHBUTTON: Self
pub const WANTALLKEYS: Self
pub const WANTARROWS: Self
pub const WANTCHARS: Self
pub const WANTMESSAGE: Self
pub const WANTTAB: Self
Trait Implementations§
Source§impl Ord for DLGC
impl Ord for DLGC
Source§impl PartialOrd for DLGC
impl PartialOrd for DLGC
impl Copy for DLGC
impl Eq for DLGC
impl StructuralPartialEq for DLGC
Auto Trait Implementations§
impl Freeze for DLGC
impl RefUnwindSafe for DLGC
impl Send for DLGC
impl Sync for DLGC
impl Unpin for DLGC
impl UnwindSafe for DLGC
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