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 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 IntUnderlying for VK
impl IntUnderlying for VK
source§impl Ord for VK
impl Ord for VK
source§impl PartialOrd for VK
impl PartialOrd for VK
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for VK
impl Eq for VK
impl NativeConst for VK
impl Send for VK
impl StructuralPartialEq for VK
Auto Trait Implementations§
impl Freeze for VK
impl RefUnwindSafe 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