Skip to main content

Key

Struct Key 

Source
pub struct Key { /* private fields */ }
Expand description

The wire type corresponding to Key.

Implementations§

Source§

impl Key

Source

pub const UNKNOWN: Key

Source

pub const A: Key

Source

pub const B: Key

Source

pub const C: Key

Source

pub const D: Key

Source

pub const E: Key

Source

pub const F: Key

Source

pub const G: Key

Source

pub const H: Key

Source

pub const I: Key

Source

pub const J: Key

Source

pub const K: Key

Source

pub const L: Key

Source

pub const M: Key

Source

pub const N: Key

Source

pub const O: Key

Source

pub const P: Key

Source

pub const Q: Key

Source

pub const R: Key

Source

pub const S: Key

Source

pub const T: Key

Source

pub const U: Key

Source

pub const V: Key

Source

pub const W: Key

Source

pub const X: Key

Source

pub const Y: Key

Source

pub const Z: Key

Source

pub const KEY_1: Key

Source

pub const KEY_2: Key

Source

pub const KEY_3: Key

Source

pub const KEY_4: Key

Source

pub const KEY_5: Key

Source

pub const KEY_6: Key

Source

pub const KEY_7: Key

Source

pub const KEY_8: Key

Source

pub const KEY_9: Key

Source

pub const KEY_0: Key

Source

pub const ENTER: Key

Source

pub const ESCAPE: Key

Source

pub const BACKSPACE: Key

Source

pub const TAB: Key

Source

pub const SPACE: Key

Source

pub const MINUS: Key

Source

pub const EQUALS: Key

Source

pub const LEFT_BRACE: Key

Source

pub const RIGHT_BRACE: Key

Source

pub const BACKSLASH: Key

Source

pub const NON_US_HASH: Key

Source

pub const SEMICOLON: Key

Source

pub const APOSTROPHE: Key

Source

pub const GRAVE_ACCENT: Key

Source

pub const COMMA: Key

Source

pub const DOT: Key

Source

pub const SLASH: Key

Source

pub const CAPS_LOCK: Key

Source

pub const F1: Key

Source

pub const F2: Key

Source

pub const F3: Key

Source

pub const F4: Key

Source

pub const F5: Key

Source

pub const F6: Key

Source

pub const F7: Key

Source

pub const F8: Key

Source

pub const F9: Key

Source

pub const F10: Key

Source

pub const F11: Key

Source

pub const F12: Key

Source

pub const PRINT_SCREEN: Key

Source

pub const SCROLL_LOCK: Key

Source

pub const PAUSE: Key

Source

pub const INSERT: Key

Source

pub const HOME: Key

Source

pub const PAGE_UP: Key

Source

pub const DELETE: Key

Source

pub const END: Key

Source

pub const PAGE_DOWN: Key

Source

pub const RIGHT: Key

Source

pub const LEFT: Key

Source

pub const DOWN: Key

Source

pub const UP: Key

Source

pub const NUM_LOCK: Key

Source

pub const KEYPAD_SLASH: Key

Source

pub const KEYPAD_ASTERISK: Key

Source

pub const KEYPAD_MINUS: Key

Source

pub const KEYPAD_PLUS: Key

Source

pub const KEYPAD_ENTER: Key

Source

pub const KEYPAD_1: Key

Source

pub const KEYPAD_2: Key

Source

pub const KEYPAD_3: Key

Source

pub const KEYPAD_4: Key

Source

pub const KEYPAD_5: Key

Source

pub const KEYPAD_6: Key

Source

pub const KEYPAD_7: Key

Source

pub const KEYPAD_8: Key

Source

pub const KEYPAD_9: Key

Source

pub const KEYPAD_0: Key

Source

pub const KEYPAD_DOT: Key

Source

pub const NON_US_BACKSLASH: Key

Source

pub const KEYPAD_EQUALS: Key

Source

pub const MENU: Key

Source

pub const LEFT_CTRL: Key

Source

pub const LEFT_SHIFT: Key

Source

pub const LEFT_ALT: Key

Source

pub const LEFT_META: Key

Source

pub const RIGHT_CTRL: Key

Source

pub const RIGHT_SHIFT: Key

Source

pub const RIGHT_ALT: Key

Source

pub const RIGHT_META: Key

Source

pub const MUTE: Key

Source

pub const VOLUME_DOWN: Key

Source

pub const VOLUME_UP: Key

Source

pub const PLAY_PAUSE: Key

Source

pub const MEDIA_MUTE: Key

Source

pub const MEDIA_VOLUME_INCREMENT: Key

Source

pub const MEDIA_VOLUME_DECREMENT: Key

Source

pub const AC_BACK: Key

Source

pub const AC_REFRESH: Key

Source

pub const AC_FULL_SCREEN_VIEW: Key

Source

pub const AC_SELECT_TASK_APPLICATION: Key

Source

pub const BRIGHTNESS_DOWN: Key

Source

pub const BRIGHTNESS_UP: Key

Source

pub const ASSISTANT: Key

Source

pub const POWER: Key

Source

pub const SLEEP: Key

Source

pub const UNKNOWN_0055: Key

Source

pub const UNKNOWN_0056: Key

Source

pub const UNKNOWN_0059: Key

Source

pub const UNKNOWN_005_C: Key

Source

pub const UNKNOWN_005_D: Key

Source

pub const UNKNOWN_005_E: Key

Source

pub const UNKNOWN_0079: Key

Source

pub const UNKNOWN_007_A: Key

Source

pub const UNKNOWN_007_B: Key

Source

pub const UNKNOWN_007_C: Key

Source

pub const UNKNOWN_0085: Key

Source

pub const UNKNOWN_0087: Key

Source

pub const UNKNOWN_0089: Key

Source

pub const UNKNOWN_009_C: Key

Source

pub const UNKNOWN_009_F: Key

Source

pub const UNKNOWN_00_A0: Key

Source

pub const UNKNOWN_00_A2: Key

Source

pub const UNKNOWN_00_A3: Key

Source

pub const UNKNOWN_00_A5: Key

Source

pub const UNKNOWN_00_A6: Key

Source

pub const UNKNOWN_00_A7: Key

Source

pub const UNKNOWN_00_A8: Key

Source

pub const UNKNOWN_00_A9: Key

Source

pub const UNKNOWN_00_AD: Key

Source

pub const UNKNOWN_00_B1: Key

Source

pub const UNKNOWN_00_B2: Key

Source

pub const UNKNOWN_00_B3: Key

Source

pub const UNKNOWN_00_B4: Key

Source

pub const UNKNOWN_00_C9: Key

Source

pub const UNKNOWN_00_CF: Key

Source

pub const UNKNOWN_00_D0: Key

Source

pub const UNKNOWN_00_D4: Key

Source

pub const UNKNOWN_00_E2: Key

Source

pub const UNKNOWN_0120: Key

Source

pub const UNKNOWN_0121: Key

Source

pub const UNKNOWN_0122: Key

Source

pub const UNKNOWN_0123: Key

Source

pub const UNKNOWN_0124: Key

Source

pub const UNKNOWN_0125: Key

Source

pub const UNKNOWN_0126: Key

Source

pub const UNKNOWN_0127: Key

Source

pub const UNKNOWN_0128: Key

Source

pub const UNKNOWN_0129: Key

Source

pub const UNKNOWN_012_A: Key

Source

pub const UNKNOWN_012_B: Key

Source

pub const UNKNOWN_012_C: Key

Source

pub const UNKNOWN_012_D: Key

Source

pub const UNKNOWN_012_E: Key

Source

pub const UNKNOWN_012_F: Key

Source

pub const UNKNOWN_0130: Key

Source

pub const UNKNOWN_0131: Key

Source

pub const UNKNOWN_0132: Key

Source

pub const UNKNOWN_0133: Key

Source

pub const UNKNOWN_0134: Key

Source

pub const UNKNOWN_0135: Key

Source

pub const UNKNOWN_0136: Key

Source

pub const UNKNOWN_0137: Key

Source

pub const UNKNOWN_0138: Key

Source

pub const UNKNOWN_0139: Key

Source

pub const UNKNOWN_013_A: Key

Source

pub const UNKNOWN_013_B: Key

Source

pub const UNKNOWN_013_C: Key

Source

pub const UNKNOWN_013_D: Key

Source

pub const UNKNOWN_013_E: Key

Source

pub const UNKNOWN_0161: Key

Source

pub const UNKNOWN_016_A: Key

Source

pub const UNKNOWN_016_E: Key

Source

pub const UNKNOWN_0172: Key

Source

pub const UNKNOWN_0179: Key

Source

pub const UNKNOWN_018_E: Key

Source

pub const UNKNOWN_018_F: Key

Source

pub const UNKNOWN_0190: Key

Source

pub const UNKNOWN_0191: Key

Source

pub const UNKNOWN_0192: Key

Source

pub const UNKNOWN_0193: Key

Source

pub const UNKNOWN_0195: Key

Source

pub const UNKNOWN_01_D0: Key

Source

pub const UNKNOWN_020_A: Key

Source

pub const UNKNOWN_020_B: Key

Trait Implementations§

Source§

impl Clone for Key

Source§

fn clone(&self) -> Key

Returns a duplicate 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 Constrained for Key

Source§

type Constraint = ()

Type of constraint information for this type.
Source§

fn validate( _: Slot<'_, Self>, _: Self::Constraint, ) -> Result<(), ValidationError>

Validate a slot of this type against a constraint. Can be called when pointers/envelopes are just presence markers.
Source§

impl Debug for Key

Source§

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

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

impl<___D> Decode<___D> for Key
where ___D: ?Sized,

Source§

fn decode(slot: Slot<'_, Self>, _: &mut ___D, _: ()) -> Result<(), DecodeError>

Decodes a value into a slot using a decoder. Read more
Source§

impl<'a, ___E> Encode<Key, ___E> for &'a Key
where ___E: ?Sized,

Source§

fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<Key>, _: (), ) -> Result<(), EncodeError>

Encodes this value into an encoder and output.
§

const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _

Whether the conversion from Self to W is equivalent to copying the raw bytes of Self. Read more
Source§

impl<___E> Encode<Key, ___E> for Key
where ___E: ?Sized,

Source§

fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<Key>, _: (), ) -> Result<(), EncodeError>

Encodes this value into an encoder and output.
§

const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _

Whether the conversion from Self to W is equivalent to copying the raw bytes of Self. Read more
Source§

impl From<Key> for Key

Source§

fn from(wire: Key) -> Self

Converts to this type from the input type.
Source§

impl From<Key> for Key

Source§

fn from(natural: Key) -> Self

Converts to this type from the input type.
Source§

impl FromWire<Key> for Key

Source§

fn from_wire(wire: Key) -> Self

Converts the given owned value to this type.
§

const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _

Whether the conversion from W to Self is equivalent to copying the raw bytes of W. Read more
Source§

impl FromWireRef<Key> for Key

Source§

fn from_wire_ref(wire: &Key) -> Self

Converts the given reference to this type.
Source§

impl IntoNatural for Key

Source§

type Natural = Key

A good default type for this wire type to convert into.
§

fn into_natural(self) -> Self::Natural

Converts this type into its natural equivalent.
Source§

impl PartialEq for Key

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Wire for Key

Source§

type Narrowed<'de> = Key

The narrowed wire type, restricted to the 'de lifetime.
Source§

fn zero_padding(_: &mut MaybeUninit<Self>)

Writes zeroes to the padding for this type, if any.
Source§

impl Copy for Key

Source§

impl Eq for Key

Source§

impl StructuralPartialEq for Key

Auto Trait Implementations§

§

impl Freeze for Key

§

impl RefUnwindSafe for Key

§

impl Send for Key

§

impl Sync for Key

§

impl Unpin for Key

§

impl UnsafeUnpin for Key

§

impl UnwindSafe for Key

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> InstanceFromServiceTransport<T> for T

§

fn from_service_transport(handle: T) -> T

Converts the given service transport handle of type T to [Self]
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.

§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

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

Source§

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>,

Source§

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>,

Source§

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.
§

impl<E> RunsTransport<Mpsc> for E

§

impl<E> RunsTransport<Mpsc> for E
where E: RunsTransport<Mpsc>,