[][src]Struct kagura::native::KeyboardEvent

#[repr(transparent)]
pub struct KeyboardEvent { /* fields omitted */ }

Methods

impl KeyboardEvent[src]

pub fn alt_key(&self) -> bool[src]

impl KeyboardEvent[src]

pub fn code(&self) -> String[src]

impl KeyboardEvent[src]

pub fn key(&self) -> String[src]

impl KeyboardEvent[src]

pub fn locale(&self) -> String[src]

impl KeyboardEvent[src]

pub fn location(&self) -> u64[src]

impl KeyboardEvent[src]

pub fn meta_key(&self) -> bool[src]

impl KeyboardEvent[src]

pub fn repeat(&self) -> bool[src]

impl KeyboardEvent[src]

pub fn shift_key(&self) -> bool[src]

Methods from Deref<Target = Event>

pub fn target(&self) -> EventTarget[src]

Trait Implementations

impl AsRef<JsValue> for KeyboardEvent[src]

impl AsRef<KeyboardEvent> for KeyboardEvent[src]

impl AsRef<Event> for KeyboardEvent[src]

impl From<JsValue> for KeyboardEvent[src]

impl From<KeyboardEvent> for JsValue[src]

impl From<KeyboardEvent> for Event[src]

impl Deref for KeyboardEvent[src]

type Target = Event

The resulting type after dereferencing.

impl FromWasmAbi for KeyboardEvent[src]

type Abi = <JsValue as FromWasmAbi>::Abi

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

impl IntoWasmAbi for KeyboardEvent[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

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

impl<'a> IntoWasmAbi for &'a KeyboardEvent[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

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

impl RefFromWasmAbi for KeyboardEvent[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<KeyboardEvent>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl WasmDescribe for KeyboardEvent[src]

impl OptionFromWasmAbi for KeyboardEvent[src]

impl OptionIntoWasmAbi for KeyboardEvent[src]

impl<'a> OptionIntoWasmAbi for &'a KeyboardEvent[src]

impl JsCast for KeyboardEvent[src]

Auto Trait Implementations

Blanket Implementations

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

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

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

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi