pub struct NM(/* private fields */);
Available on crate features
kernel
and comctl
only.Expand description
wm::Notify
notification codes (i32
).
Note: Control-specific notification codes have their own types,
which are convertible to NM
.
Implementations§
source§impl NM
impl NM
sourcepub const unsafe fn from_raw(v: i32) -> Self
pub const unsafe fn from_raw(v: i32) -> 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) -> i32
pub const fn raw(&self) -> i32
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 NM
impl NM
pub const OUTOFMEMORY: Self = _
pub const CLICK: Self = _
pub const DBLCLK: Self = _
pub const RETURN: Self = _
pub const RCLICK: Self = _
pub const RDBLCLK: Self = _
pub const SETFOCUS: Self = _
pub const KILLFOCUS: Self = _
pub const CUSTOMDRAW: Self = _
pub const HOVER: Self = _
pub const NCHITTEST: Self = _
pub const KEYDOWN: Self = _
pub const RELEASEDCAPTURE: Self = _
pub const SETCURSOR: Self = _
pub const CHAR: Self = _
pub const TOOLTIPSCREATED: Self = _
pub const LDOWN: Self = _
pub const RDOWN: Self = _
pub const THEMECHANGED: Self = _
Trait Implementations§
source§impl IntUnderlying for NM
impl IntUnderlying for NM
source§impl Ord for NM
impl Ord for NM
source§impl PartialOrd for NM
impl PartialOrd for NM
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 NM
impl Eq for NM
impl NativeConst for NM
impl Send for NM
impl StructuralPartialEq for NM
Auto Trait Implementations§
impl Freeze for NM
impl RefUnwindSafe for NM
impl Sync for NM
impl Unpin for NM
impl UnwindSafe for NM
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