pub struct Msg { /* private fields */ }
Expand description
Wrapper over Windows messages.
On drop it translates and dispatches message. You can do it yourself though.
Implementations§
Source§impl Msg
impl Msg
Sourcepub fn as_mut_ptr(&mut self) -> *mut MSG
pub fn as_mut_ptr(&mut self) -> *mut MSG
Mutable pointer to inner message.
Sourcepub fn inner(&self) -> MSG
pub fn inner(&self) -> MSG
Retrieves raw Windows Message.
Ownership is not passed so do not manually dispatch it.
Sourcepub fn into_inner(self) -> MSG
pub fn into_inner(self) -> MSG
Retrieves raw Windows Message and transfers ownership.
After that user is responsible to dispatch message.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Msg
impl RefUnwindSafe for Msg
impl !Send for Msg
impl !Sync for Msg
impl Unpin for Msg
impl UnwindSafe for Msg
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