Struct objc2_ui_kit::UIKeyboardHIDUsage

source ·
#[repr(transparent)]
pub struct UIKeyboardHIDUsage(pub c_long);
Available on crate feature UIKeyConstants only.

Tuple Fields§

§0: c_long

Implementations§

source§

impl UIKeyboardHIDUsage

source

pub const KeyboardErrorRollOver: Self = _

source

pub const KeyboardPOSTFail: Self = _

source

pub const KeyboardErrorUndefined: Self = _

source

pub const KeyboardA: Self = _

source

pub const KeyboardB: Self = _

source

pub const KeyboardC: Self = _

source

pub const KeyboardD: Self = _

source

pub const KeyboardE: Self = _

source

pub const KeyboardF: Self = _

source

pub const KeyboardG: Self = _

source

pub const KeyboardH: Self = _

source

pub const KeyboardI: Self = _

source

pub const KeyboardJ: Self = _

source

pub const KeyboardK: Self = _

source

pub const KeyboardL: Self = _

source

pub const KeyboardM: Self = _

source

pub const KeyboardN: Self = _

source

pub const KeyboardO: Self = _

source

pub const KeyboardP: Self = _

source

pub const KeyboardQ: Self = _

source

pub const KeyboardR: Self = _

source

pub const KeyboardS: Self = _

source

pub const KeyboardT: Self = _

source

pub const KeyboardU: Self = _

source

pub const KeyboardV: Self = _

source

pub const KeyboardW: Self = _

source

pub const KeyboardX: Self = _

source

pub const KeyboardY: Self = _

source

pub const KeyboardZ: Self = _

source

pub const Keyboard1: Self = _

source

pub const Keyboard2: Self = _

source

pub const Keyboard3: Self = _

source

pub const Keyboard4: Self = _

source

pub const Keyboard5: Self = _

source

pub const Keyboard6: Self = _

source

pub const Keyboard7: Self = _

source

pub const Keyboard8: Self = _

source

pub const Keyboard9: Self = _

source

pub const Keyboard0: Self = _

source

pub const KeyboardReturnOrEnter: Self = _

source

pub const KeyboardEscape: Self = _

source

pub const KeyboardDeleteOrBackspace: Self = _

source

pub const KeyboardTab: Self = _

source

pub const KeyboardSpacebar: Self = _

source

pub const KeyboardHyphen: Self = _

source

pub const KeyboardEqualSign: Self = _

source

pub const KeyboardOpenBracket: Self = _

source

pub const KeyboardCloseBracket: Self = _

source

pub const KeyboardBackslash: Self = _

source

pub const KeyboardNonUSPound: Self = _

source

pub const KeyboardSemicolon: Self = _

source

pub const KeyboardQuote: Self = _

source

pub const KeyboardGraveAccentAndTilde: Self = _

source

pub const KeyboardComma: Self = _

source

pub const KeyboardPeriod: Self = _

source

pub const KeyboardSlash: Self = _

source

pub const KeyboardCapsLock: Self = _

source

pub const KeyboardF1: Self = _

source

pub const KeyboardF2: Self = _

source

pub const KeyboardF3: Self = _

source

pub const KeyboardF4: Self = _

source

pub const KeyboardF5: Self = _

source

pub const KeyboardF6: Self = _

source

pub const KeyboardF7: Self = _

source

pub const KeyboardF8: Self = _

source

pub const KeyboardF9: Self = _

source

pub const KeyboardF10: Self = _

source

pub const KeyboardF11: Self = _

source

pub const KeyboardF12: Self = _

source

pub const KeyboardPrintScreen: Self = _

source

pub const KeyboardScrollLock: Self = _

source

pub const KeyboardPause: Self = _

source

pub const KeyboardInsert: Self = _

source

pub const KeyboardHome: Self = _

source

pub const KeyboardPageUp: Self = _

source

pub const KeyboardDeleteForward: Self = _

source

pub const KeyboardEnd: Self = _

source

pub const KeyboardPageDown: Self = _

source

pub const KeyboardRightArrow: Self = _

source

pub const KeyboardLeftArrow: Self = _

source

pub const KeyboardDownArrow: Self = _

source

pub const KeyboardUpArrow: Self = _

source

pub const KeypadNumLock: Self = _

source

pub const KeypadSlash: Self = _

source

pub const KeypadAsterisk: Self = _

source

pub const KeypadHyphen: Self = _

source

pub const KeypadPlus: Self = _

source

pub const KeypadEnter: Self = _

source

pub const Keypad1: Self = _

source

pub const Keypad2: Self = _

source

pub const Keypad3: Self = _

source

pub const Keypad4: Self = _

source

pub const Keypad5: Self = _

source

pub const Keypad6: Self = _

source

pub const Keypad7: Self = _

source

pub const Keypad8: Self = _

source

pub const Keypad9: Self = _

source

pub const Keypad0: Self = _

source

pub const KeypadPeriod: Self = _

source

pub const KeyboardNonUSBackslash: Self = _

source

pub const KeyboardApplication: Self = _

source

pub const KeyboardPower: Self = _

source

pub const KeypadEqualSign: Self = _

source

pub const KeyboardF13: Self = _

source

pub const KeyboardF14: Self = _

source

pub const KeyboardF15: Self = _

source

pub const KeyboardF16: Self = _

source

pub const KeyboardF17: Self = _

source

pub const KeyboardF18: Self = _

source

pub const KeyboardF19: Self = _

source

pub const KeyboardF20: Self = _

source

pub const KeyboardF21: Self = _

source

pub const KeyboardF22: Self = _

source

pub const KeyboardF23: Self = _

source

pub const KeyboardF24: Self = _

source

pub const KeyboardExecute: Self = _

source

pub const KeyboardHelp: Self = _

source

pub const KeyboardMenu: Self = _

source

pub const KeyboardSelect: Self = _

source

pub const KeyboardStop: Self = _

source

pub const KeyboardAgain: Self = _

source

pub const KeyboardUndo: Self = _

source

pub const KeyboardCut: Self = _

source

pub const KeyboardCopy: Self = _

source

pub const KeyboardPaste: Self = _

source

pub const KeyboardFind: Self = _

source

pub const KeyboardMute: Self = _

source

pub const KeyboardVolumeUp: Self = _

source

pub const KeyboardVolumeDown: Self = _

source

pub const KeyboardLockingCapsLock: Self = _

source

pub const KeyboardLockingNumLock: Self = _

source

pub const KeyboardLockingScrollLock: Self = _

source

pub const KeypadComma: Self = _

source

pub const KeypadEqualSignAS400: Self = _

source

pub const KeyboardInternational1: Self = _

source

pub const KeyboardInternational2: Self = _

source

pub const KeyboardInternational3: Self = _

source

pub const KeyboardInternational4: Self = _

source

pub const KeyboardInternational5: Self = _

source

pub const KeyboardInternational6: Self = _

source

pub const KeyboardInternational7: Self = _

source

pub const KeyboardInternational8: Self = _

source

pub const KeyboardInternational9: Self = _

source

pub const KeyboardLANG1: Self = _

source

pub const KeyboardLANG2: Self = _

source

pub const KeyboardLANG3: Self = _

source

pub const KeyboardLANG4: Self = _

source

pub const KeyboardLANG5: Self = _

source

pub const KeyboardLANG6: Self = _

source

pub const KeyboardLANG7: Self = _

source

pub const KeyboardLANG8: Self = _

source

pub const KeyboardLANG9: Self = _

source

pub const KeyboardAlternateErase: Self = _

source

pub const KeyboardSysReqOrAttention: Self = _

source

pub const KeyboardCancel: Self = _

source

pub const KeyboardClear: Self = _

source

pub const KeyboardPrior: Self = _

source

pub const KeyboardReturn: Self = _

source

pub const KeyboardSeparator: Self = _

source

pub const KeyboardOut: Self = _

source

pub const KeyboardOper: Self = _

source

pub const KeyboardClearOrAgain: Self = _

source

pub const KeyboardCrSelOrProps: Self = _

source

pub const KeyboardExSel: Self = _

source

pub const KeyboardLeftControl: Self = _

source

pub const KeyboardLeftShift: Self = _

source

pub const KeyboardLeftAlt: Self = _

source

pub const KeyboardLeftGUI: Self = _

source

pub const KeyboardRightControl: Self = _

source

pub const KeyboardRightShift: Self = _

source

pub const KeyboardRightAlt: Self = _

source

pub const KeyboardRightGUI: Self = _

source

pub const Keyboard_Reserved: Self = _

source

pub const KeyboardHangul: Self = _

source

pub const KeyboardHanja: Self = _

source

pub const KeyboardKanaSwitch: Self = _

source

pub const KeyboardAlphanumericSwitch: Self = _

source

pub const KeyboardKatakana: Self = _

source

pub const KeyboardHiragana: Self = _

source

pub const KeyboardZenkakuHankakuKanji: Self = _

Trait Implementations§

source§

impl Clone for UIKeyboardHIDUsage

source§

fn clone(&self) -> UIKeyboardHIDUsage

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UIKeyboardHIDUsage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Encode for UIKeyboardHIDUsage

source§

const ENCODING: Encoding = CFIndex::ENCODING

The Objective-C type-encoding for this type.
source§

impl Hash for UIKeyboardHIDUsage

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for UIKeyboardHIDUsage

source§

fn cmp(&self, other: &UIKeyboardHIDUsage) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for UIKeyboardHIDUsage

source§

fn eq(&self, other: &UIKeyboardHIDUsage) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for UIKeyboardHIDUsage

source§

fn partial_cmp(&self, other: &UIKeyboardHIDUsage) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

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 more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl RefEncode for UIKeyboardHIDUsage

source§

const ENCODING_REF: Encoding = _

The Objective-C type-encoding for a reference of this type. Read more
source§

impl Copy for UIKeyboardHIDUsage

source§

impl Eq for UIKeyboardHIDUsage

source§

impl StructuralPartialEq for UIKeyboardHIDUsage

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> EncodeArgument for T
where T: Encode,

source§

const ENCODING_ARGUMENT: Encoding = T::ENCODING

The Objective-C type-encoding for this type.
source§

impl<T> EncodeReturn for T
where T: Encode,

source§

const ENCODING_RETURN: Encoding = T::ENCODING

The Objective-C type-encoding for this type.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> AutoreleaseSafe for T
where T: ?Sized,