Struct yew::html::KeyData [] [src]

pub struct KeyData {
    pub key: String,
}

A type representing data from onkeypress event.

Fields

Value of a pressed key. Contains key name from KeyboardEvent.

Trait Implementations

impl Debug for KeyData
[src]

[src]

Formats the value using the given formatter.

impl<T: IKeyboardEvent> From<T> for KeyData
[src]

[src]

Performs the conversion.