[]Struct augdom::event::KeyUp

pub struct KeyUp(_);

A key is released. MDN documentation

Methods from Deref<Target = KeyboardEvent>

pub fn get_modifier_state(&self, key: &str) -> bool[src]

The getModifierState() method

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent

pub fn init_keyboard_event(&self, type_arg: &str) -> Result<(), JsValue>[src]

The initKeyboardEvent() method

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent

pub fn init_keyboard_event_with_bubbles_arg(
    &self,
    type_arg: &str,
    bubbles_arg: bool
) -> Result<(), JsValue>
[src]

The initKeyboardEvent() method

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent

pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg(
    &self,
    type_arg: &str,
    bubbles_arg: bool,
    cancelable_arg: bool
) -> Result<(), JsValue>
[src]

The initKeyboardEvent() method

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent

pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg(
    &self,
    type_arg: &str,
    bubbles_arg: bool,
    cancelable_arg: bool,
    view_arg: Option<&Window>
) -> Result<(), JsValue>
[src]

The initKeyboardEvent() method

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent, Window

pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg(
    &self,
    type_arg: &str,
    bubbles_arg: bool,
    cancelable_arg: bool,
    view_arg: Option<&Window>,
    key_arg: &str
) -> Result<(), JsValue>
[src]

The initKeyboardEvent() method

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent, Window

pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg(
    &self,
    type_arg: &str,
    bubbles_arg: bool,
    cancelable_arg: bool,
    view_arg: Option<&Window>,
    key_arg: &str,
    location_arg: u32
) -> Result<(), JsValue>
[src]

The initKeyboardEvent() method

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent, Window

pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key(
    &self,
    type_arg: &str,
    bubbles_arg: bool,
    cancelable_arg: bool,
    view_arg: Option<&Window>,
    key_arg: &str,
    location_arg: u32,
    ctrl_key: bool
) -> Result<(), JsValue>
[src]

The initKeyboardEvent() method

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent, Window

pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key(
    &self,
    type_arg: &str,
    bubbles_arg: bool,
    cancelable_arg: bool,
    view_arg: Option<&Window>,
    key_arg: &str,
    location_arg: u32,
    ctrl_key: bool,
    alt_key: bool
) -> Result<(), JsValue>
[src]

The initKeyboardEvent() method

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent, Window

pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key_and_shift_key(
    &self,
    type_arg: &str,
    bubbles_arg: bool,
    cancelable_arg: bool,
    view_arg: Option<&Window>,
    key_arg: &str,
    location_arg: u32,
    ctrl_key: bool,
    alt_key: bool,
    shift_key: bool
) -> Result<(), JsValue>
[src]

The initKeyboardEvent() method

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent, Window

pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key(
    &self,
    type_arg: &str,
    bubbles_arg: bool,
    cancelable_arg: bool,
    view_arg: Option<&Window>,
    key_arg: &str,
    location_arg: u32,
    ctrl_key: bool,
    alt_key: bool,
    shift_key: bool,
    meta_key: bool
) -> Result<(), JsValue>
[src]

The initKeyboardEvent() method

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent, Window

pub fn char_code(&self) -> u32[src]

The charCode getter

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent

pub fn key_code(&self) -> u32[src]

The keyCode getter

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent

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

The altKey getter

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent

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

The ctrlKey getter

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent

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

The shiftKey getter

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent

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

The metaKey getter

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent

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

The location getter

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent

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

The repeat getter

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent

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

The isComposing getter

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent

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

The key getter

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent

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

The code getter

MDN Documentation

This API requires the following crate features to be activated: KeyboardEvent

Trait Implementations

impl Event for KeyUp[src]

impl AsRef<Event> for KeyUp[src]

impl AsRef<JsValue> for KeyUp[src]

impl From<KeyUp> for JsValue[src]

impl Deref for KeyUp[src]

type Target = KeyboardEvent

The resulting type after dereferencing.

impl RefFromWasmAbi for KeyUp[src]

type Abi = u32

The wasm ABI type references to Self are recovered from.

type Anchor = Ref<'static, KeyUp>

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 FromWasmAbi for KeyUp[src]

type Abi = u32

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

impl IntoWasmAbi for KeyUp[src]

type Abi = u32

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

impl WasmDescribe for KeyUp[src]

impl OptionFromWasmAbi for KeyUp[src]

impl OptionIntoWasmAbi for KeyUp[src]

impl RefMutFromWasmAbi for KeyUp[src]

type Abi = u32

Same as RefFromWasmAbi::Abi

type Anchor = RefMut<'static, KeyUp>

Same as RefFromWasmAbi::Anchor

impl JsCast for KeyUp[src]

Auto Trait Implementations

impl !Send for KeyUp

impl !Sync for KeyUp

impl Unpin for KeyUp

impl UnwindSafe for KeyUp

impl RefUnwindSafe for KeyUp

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

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

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

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

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi