[][src]Enum paddle::KeyEventType

#[repr(u8)]pub enum KeyEventType {
    KeyDown,
    KeyPress,
    KeyUp,
}

Rust representation for key event types. Has a one-to-one correspondence to browser events.

Variants

KeyDown
KeyPress
KeyUp

Trait Implementations

impl Clone for KeyEventType[src]

impl Copy for KeyEventType[src]

impl Debug for KeyEventType[src]

impl Eq for KeyEventType[src]

impl FromWasmAbi for KeyEventType[src]

type Abi = u32

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl Hash for KeyEventType[src]

impl IntoEnumIterator for KeyEventType[src]

impl IntoWasmAbi for KeyEventType[src]

type Abi = u32

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl OptionFromWasmAbi for KeyEventType[src]

impl OptionIntoWasmAbi for KeyEventType[src]

impl PartialEq<KeyEventType> for KeyEventType[src]

impl StructuralEq for KeyEventType[src]

impl StructuralPartialEq for KeyEventType[src]

impl WasmDescribe for KeyEventType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Activity for T where
    T: Any
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,