#[repr(u32)]pub enum TTKeyTranslate {
TTKEY_NO_TRANSLATE = 0,
TTKEY_WINKEYCODE_TO_TTKEYCODE = 1,
TTKEY_TTKEYCODE_TO_WINKEYCODE = 2,
TTKEY_MACKEYCODE_TO_TTKEYCODE = 3,
TTKEY_TTKEYCODE_TO_MACKEYCODE = 4,
}Variants§
TTKEY_NO_TRANSLATE = 0
TTKEY_WINKEYCODE_TO_TTKEYCODE = 1
TTKEY_TTKEYCODE_TO_WINKEYCODE = 2
TTKEY_MACKEYCODE_TO_TTKEYCODE = 3
TTKEY_TTKEYCODE_TO_MACKEYCODE = 4
Trait Implementations§
Source§impl Clone for TTKeyTranslate
impl Clone for TTKeyTranslate
Source§fn clone(&self) -> TTKeyTranslate
fn clone(&self) -> TTKeyTranslate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TTKeyTranslate
impl Debug for TTKeyTranslate
Source§impl Hash for TTKeyTranslate
impl Hash for TTKeyTranslate
Source§impl PartialEq for TTKeyTranslate
impl PartialEq for TTKeyTranslate
impl Copy for TTKeyTranslate
impl Eq for TTKeyTranslate
impl StructuralPartialEq for TTKeyTranslate
Auto Trait Implementations§
impl Freeze for TTKeyTranslate
impl RefUnwindSafe for TTKeyTranslate
impl Send for TTKeyTranslate
impl Sync for TTKeyTranslate
impl Unpin for TTKeyTranslate
impl UnwindSafe for TTKeyTranslate
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