[]Struct yew_stdweb::events::KeyPressEvent

pub struct KeyPressEvent(_);

The KeyPressEvent is fired when a key is pressed down. It's only fired for keys which produce a character value.

(JavaScript docs)

Trait Implementations

impl AsRef<Reference> for KeyPressEvent

impl Clone for KeyPressEvent

impl ConcreteEvent for KeyPressEvent

impl Debug for KeyPressEvent

impl Eq for KeyPressEvent

impl IEvent for KeyPressEvent

impl IKeyboardEvent for KeyPressEvent

impl InstanceOf for KeyPressEvent

impl JsSerialize for KeyPressEvent

impl PartialEq<KeyPressEvent> for KeyPressEvent

impl ReferenceType for KeyPressEvent

impl StructuralEq for KeyPressEvent

impl StructuralPartialEq for KeyPressEvent

impl<'_r> TryFrom<&'_r Reference> for KeyPressEvent

type Error = ConversionError

The type returned in the event of a conversion error.

impl<'_r> TryFrom<&'_r Value> for KeyPressEvent

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Event> for KeyPressEvent

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<KeyboardEvent> for KeyPressEvent

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Reference> for KeyPressEvent

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Value> for KeyPressEvent

type Error = ConversionError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> CloneAny for T where
    T: Clone + Any
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

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