Struct winsafe::msg::wm::ContextMenu
source · pub struct ContextMenu {
pub hwnd: HWND,
pub cursor_pos: POINT,
}
Available on crate feature
user
only.Expand description
WM_CONTEXTMENU
message parameters.
Return type: ()
.
Fields§
§hwnd: HWND
§cursor_pos: POINT
Trait Implementations§
source§impl MsgSend for ContextMenu
impl MsgSend for ContextMenu
source§fn convert_ret(&self, _: isize) -> Self::RetType
fn convert_ret(&self, _: isize) -> Self::RetType
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
Converts the specific message parameters struct into the generic
WndMsg
message struct.source§impl MsgSendRecv for ContextMenu
impl MsgSendRecv for ContextMenu
source§fn from_generic_wm(p: WndMsg) -> Self
fn from_generic_wm(p: WndMsg) -> Self
Converts the generic
WndMsg
parameters struct
into the specific message struct.Auto Trait Implementations§
impl Freeze for ContextMenu
impl RefUnwindSafe for ContextMenu
impl Send for ContextMenu
impl !Sync for ContextMenu
impl Unpin for ContextMenu
impl UnwindSafe for ContextMenu
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