pub struct WndMsg {
pub msg_id: WM,
pub wparam: usize,
pub lparam: isize,
}
Expand description
Generic
window message
parameters: WPARAM
and LPARAM
.
All message types can be converted to WndMsg
via the
as_generic_wm
method.
Return type: isize
.
The co::WM
constant that identifies the window message.
Second message parameter.
Performs copy-assignment from source
. Read more
The specific type of the value returned by the message.
Converts the generic isize
return value to the specific type returned
by the message. Read more
Converts the specific message parameters struct into the generic
WndMsg
message struct. Read more
Converts the generic WndMsg
parameters struct
into the specific message struct. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.