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 Ord for DLGC
impl Ord for DLGC
source§impl PartialEq for DLGC
impl PartialEq for DLGC
source§impl PartialOrd for DLGC
impl PartialOrd for DLGC
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for DLGC
impl Eq for DLGC
impl NativeConst for DLGC
impl Send for DLGC
impl StructuralPartialEq for DLGC
Auto Trait Implementations§
impl Freeze for DLGC
impl RefUnwindSafe 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