pub struct Notify<'a> {
pub nmhdr: &'a mut NMHDR,
}
Available on crate features
user
and comctl
only.Expand description
WM_NOTIFY
message parameters.
Return type: isize
.
Fields§
§nmhdr: &'a mut NMHDR
Implementations§
source§impl<'a> Notify<'a>
impl<'a> Notify<'a>
sourcepub const unsafe fn cast_nmhdr<T>(&self) -> &T
pub const unsafe fn cast_nmhdr<T>(&self) -> &T
Casts the NMHDR
reference into a derived struct.
§Safety
The casting must be done to the correct struct.
You should always prefer the specific notifications, which perform this conversion for you.
sourcepub unsafe fn cast_nmhdr_mut<T>(&self) -> &mut T
pub unsafe fn cast_nmhdr_mut<T>(&self) -> &mut T
Casts the NMHDR
mutable reference into a derived struct.
§Safety
The casting must be done to the correct struct.
You should always prefer the specific notifications, which perform this conversion for you.
Trait Implementations§
source§impl<'a> MsgSend for Notify<'a>
impl<'a> MsgSend for Notify<'a>
§type RetType = isize
type RetType = isize
Available on crate feature
user
only.The specific type of the value returned by the message.
source§fn convert_ret(&self, v: isize) -> Self::RetType
fn convert_ret(&self, v: isize) -> Self::RetType
Available on crate feature
user
only.Converts the generic
isize
return value to the specific type returned
by the message.source§fn as_generic_wm(&mut self) -> WndMsg
fn as_generic_wm(&mut self) -> WndMsg
Available on crate feature
user
only.Converts the specific message parameters struct into the generic
WndMsg
message struct.source§impl<'a> MsgSendRecv for Notify<'a>
impl<'a> MsgSendRecv for Notify<'a>
source§fn from_generic_wm(p: WndMsg) -> Self
fn from_generic_wm(p: WndMsg) -> Self
Available on crate feature
user
only.Converts the generic
WndMsg
parameters struct
into the specific message struct.Auto Trait Implementations§
impl<'a> Freeze for Notify<'a>
impl<'a> RefUnwindSafe for Notify<'a>
impl<'a> Send for Notify<'a>
impl<'a> !Sync for Notify<'a>
impl<'a> Unpin for Notify<'a>
impl<'a> !UnwindSafe for Notify<'a>
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