Struct windows_win::Msg
[−]
[src]
pub struct Msg { /* fields omitted */ }Wrapper over Windows messages.
On drop it translates and dispatches message. You can do it yourself though.
Methods
impl Msg[src]
fn new(message: MSG) -> Msg
fn id(&self) -> UINT
Message identifier.
fn as_ptr(&self) -> *const MSG
Pointer to inner message.
fn as_mut_ptr(&mut self) -> *mut MSG
Mutable pointer to inner message.
fn inner(&self) -> MSG
Retrieves raw Windows Message.
Ownership is not passed so do not manually dispatch it.
fn into_inner(self) -> MSG
Retrieves raw Windows Message and transfers ownership.
After that user is responsible to dispatch message.
fn dispatch(self)
Drops and Dispatches underlying Windows Message. You cannot use it after that.