pub struct Char {
pub char_code: u16,
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_CHAR
message parameters.
Return type: ()
.
Fields§
§char_code: u16
§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 Char
impl MsgSend for Char
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 Char
impl MsgSendRecv for Char
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 Char
impl RefUnwindSafe for Char
impl Send for Char
impl Sync for Char
impl Unpin for Char
impl UnwindSafe for Char
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