Enum iced_web::keyboard::KeyCode [−][src]
The symbolic name of a keyboard key.
This is mostly the KeyCode
type found in winit
.
Variants
The ‘1’ key over the letters.
The ‘2’ key over the letters.
The ‘3’ key over the letters.
The ‘4’ key over the letters.
The ‘5’ key over the letters.
The ‘6’ key over the letters.
The ‘7’ key over the letters.
The ‘8’ key over the letters.
The ‘9’ key over the letters.
The ‘0’ key over the ‘O’ and ‘P’ keys.
The Escape key, next to F1.
Print Screen/SysRq.
Scroll Lock.
Pause/Break key, next to Scroll lock.
Insert
, next to Backspace.
The Backspace key, right over Enter.
The Enter key.
The space bar.
The “Compose” key on Linux.
Trait Implementations
impl Clone for KeyCode
[src]
impl Copy for KeyCode
[src]
impl Debug for KeyCode
[src]
impl Eq for KeyCode
[src]
impl Hash for KeyCode
[src]
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for KeyCode
[src]
pub fn cmp(&self, other: &KeyCode) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<KeyCode> for KeyCode
[src]
pub fn eq(&self, other: &KeyCode) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<KeyCode> for KeyCode
[src]
pub fn partial_cmp(&self, other: &KeyCode) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for KeyCode
[src]
impl StructuralPartialEq for KeyCode
[src]
Auto Trait Implementations
impl RefUnwindSafe for KeyCode
impl Send for KeyCode
impl Sync for KeyCode
impl Unpin for KeyCode
impl UnwindSafe for KeyCode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,