pub struct KeyUp {
pub vkey_code: VK,
pub repeat_count: u16,
pub scan_code: u8,
pub is_extended_key: bool,
pub has_alt_key: bool,
pub key_was_previously_down: bool,
pub key_is_being_released: bool,
}
Available on crate feature
user
only.Expand description
WM_KEYUP
message parameters.
Return type: ()
.
Fields§
§vkey_code: VK
§repeat_count: u16
§scan_code: u8
§is_extended_key: bool
§has_alt_key: bool
§key_was_previously_down: bool
§key_is_being_released: bool
Trait Implementations§
source§impl MsgSend for KeyUp
impl MsgSend for KeyUp
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 KeyUp
impl MsgSendRecv for KeyUp
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 KeyUp
impl RefUnwindSafe for KeyUp
impl Send for KeyUp
impl Sync for KeyUp
impl Unpin for KeyUp
impl UnwindSafe for KeyUp
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