pub struct VK(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
Virtual key codes
(u16
).
Implementations§
Source§impl VK
impl VK
Sourcepub const unsafe fn as_mut(&mut self) -> &mut u16
pub const unsafe fn as_mut(&mut self) -> &mut u16
Returns a mutable reference to the underlying raw value.
§Safety
Be sure the integer being set is meaningful for the actual type.
Sourcepub const unsafe fn from_raw(v: u16) -> Self
pub const unsafe fn from_raw(v: u16) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
Sourcepub const fn raw(&self) -> u16
pub const fn raw(&self) -> u16
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
Source§impl VK
impl VK
Sourcepub const NONCONVERT: Self
pub const NONCONVERT: Self
IME nonconvert.
Sourcepub const MODECHANGE: Self
pub const MODECHANGE: Self
IME mode change request.
pub const F1: Self
pub const F2: Self
pub const F3: Self
pub const F4: Self
pub const F5: Self
pub const F6: Self
pub const F7: Self
pub const F8: Self
pub const F9: Self
pub const F10: Self
pub const F11: Self
pub const F12: Self
pub const F13: Self
pub const F14: Self
pub const F15: Self
pub const F16: Self
pub const F17: Self
pub const F18: Self
pub const F19: Self
pub const F20: Self
pub const F21: Self
pub const F22: Self
pub const F23: Self
pub const F24: Self
pub const OEM_NEC_EQUAL: Self
pub const OEM_FJ_JISHO: Self
pub const OEM_FJ_MASSHOU: Self
pub const OEM_FJ_TOUROKU: Self
pub const OEM_FJ_LOYA: Self
pub const OEM_FJ_ROYA: Self
pub const BROWSER_BACK: Self
pub const BROWSER_FORWARD: Self
pub const BROWSER_REFRESH: Self
pub const BROWSER_STOP: Self
pub const BROWSER_SEARCH: Self
pub const BROWSER_FAVORITES: Self
pub const BROWSER_HOME: Self
pub const VOLUME_MUTE: Self
pub const VOLUME_DOWN: Self
pub const VOLUME_UP: Self
pub const MEDIA_NEXT_TRACK: Self
pub const MEDIA_PREV_TRACK: Self
pub const MEDIA_STOP: Self
pub const MEDIA_PLAY_PAUSE: Self
pub const LAUNCH_MAIL: Self
pub const LAUNCH_MEDIA_SELECT: Self
pub const LAUNCH_APP1: Self
pub const LAUNCH_APP2: Self
pub const OEM_1: Self
pub const OEM_PLUS: Self
pub const OEM_COMMA: Self
pub const OEM_MINUS: Self
pub const OEM_PERIOD: Self
pub const OEM_2: Self
pub const OEM_3: Self
pub const OEM_4: Self
pub const OEM_5: Self
pub const OEM_6: Self
pub const OEM_7: Self
pub const OEM_8: Self
pub const OEM_AX: Self
pub const OEM_102: Self
pub const ICO_HELP: Self
pub const ICO_00: Self
pub const PROCESSKEY: Self
pub const ICO_CLEAR: Self
pub const PACKET: Self
pub const OEM_RESET: Self
pub const OEM_JUMP: Self
pub const OEM_PA1: Self
pub const OEM_PA2: Self
pub const OEM_PA3: Self
pub const OEM_WSCTRL: Self
pub const OEM_CUSEL: Self
pub const OEM_ATTN: Self
pub const OEM_FINISH: Self
pub const OEM_COPY: Self
pub const OEM_AUTO: Self
pub const OEM_ENLW: Self
pub const OEM_BACKTAB: Self
pub const ATTN: Self
pub const CRSEL: Self
pub const EXSEL: Self
pub const EREOF: Self
pub const PLAY: Self
pub const ZOOM: Self
pub const NONAME: Self
pub const PA1: Self
pub const OEM_CLEAR: Self
Trait Implementations§
Source§impl Ord for VK
impl Ord for VK
Source§impl PartialOrd for VK
impl PartialOrd for VK
impl Copy for VK
impl Eq for VK
impl StructuralPartialEq for VK
Auto Trait Implementations§
impl Freeze for VK
impl RefUnwindSafe for VK
impl Send for VK
impl Sync for VK
impl Unpin for VK
impl UnwindSafe for VK
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