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 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 IntUnderlying for DLGC
impl IntUnderlying for DLGC
source§impl PartialEq for DLGC
impl PartialEq for DLGC
impl Copy for DLGC
impl Eq for DLGC
impl NativeConst for DLGC
impl Send for DLGC
impl StructuralPartialEq for DLGC
Auto Trait Implementations§
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