pub struct WindowMessage {
pub hwnd: HWND,
pub msg: u32,
pub wparam: WPARAM,
pub lparam: LPARAM,
}
Expand description
Wrapper for the arguments to the WNDPROC callback function
.
Fields§
§hwnd: HWND
§msg: u32
§wparam: WPARAM
§lparam: LPARAM
Trait Implementations§
Source§impl Clone for WindowMessage
impl Clone for WindowMessage
Source§fn clone(&self) -> WindowMessage
fn clone(&self) -> WindowMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for WindowMessage
impl RefUnwindSafe for WindowMessage
impl !Send for WindowMessage
impl !Sync for WindowMessage
impl Unpin for WindowMessage
impl UnwindSafe for WindowMessage
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