[]Struct augdom::event::TouchCancel

pub struct TouchCancel(_);

A touch point has been disrupted in an implementation-specific manners (too many touch points for example). MDN documentation

Methods from Deref<Target = TouchEvent>

pub fn init_touch_event(&self, type_: &str)[src]

The initTouchEvent() method

MDN Documentation

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

pub fn init_touch_event_with_can_bubble(&self, type_: &str, can_bubble: bool)[src]

The initTouchEvent() method

MDN Documentation

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

pub fn init_touch_event_with_can_bubble_and_cancelable(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool
)
[src]

The initTouchEvent() method

MDN Documentation

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

pub fn init_touch_event_with_can_bubble_and_cancelable_and_view(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    view: Option<&Window>
)
[src]

The initTouchEvent() method

MDN Documentation

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

pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    view: Option<&Window>,
    detail: i32
)
[src]

The initTouchEvent() method

MDN Documentation

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

pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    view: Option<&Window>,
    detail: i32,
    ctrl_key: bool
)
[src]

The initTouchEvent() method

MDN Documentation

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

pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    view: Option<&Window>,
    detail: i32,
    ctrl_key: bool,
    alt_key: bool
)
[src]

The initTouchEvent() method

MDN Documentation

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

pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    view: Option<&Window>,
    detail: i32,
    ctrl_key: bool,
    alt_key: bool,
    shift_key: bool
)
[src]

The initTouchEvent() method

MDN Documentation

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

pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    view: Option<&Window>,
    detail: i32,
    ctrl_key: bool,
    alt_key: bool,
    shift_key: bool,
    meta_key: bool
)
[src]

The initTouchEvent() method

MDN Documentation

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

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

The altKey getter

MDN Documentation

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

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

The metaKey getter

MDN Documentation

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

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

The ctrlKey getter

MDN Documentation

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

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

The shiftKey getter

MDN Documentation

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

Trait Implementations

impl Event for TouchCancel[src]

impl AsRef<Event> for TouchCancel[src]

impl AsRef<JsValue> for TouchCancel[src]

impl From<TouchCancel> for JsValue[src]

impl Deref for TouchCancel[src]

type Target = TouchEvent

The resulting type after dereferencing.

impl RefFromWasmAbi for TouchCancel[src]

type Abi = u32

The wasm ABI type references to Self are recovered from.

type Anchor = Ref<'static, TouchCancel>

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 TouchCancel[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 TouchCancel[src]

type Abi = u32

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

impl WasmDescribe for TouchCancel[src]

impl OptionFromWasmAbi for TouchCancel[src]

impl OptionIntoWasmAbi for TouchCancel[src]

impl RefMutFromWasmAbi for TouchCancel[src]

type Abi = u32

Same as RefFromWasmAbi::Abi

type Anchor = RefMut<'static, TouchCancel>

Same as RefFromWasmAbi::Anchor

impl JsCast for TouchCancel[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> 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