[]Struct augdom::event::CompositionStart

pub struct CompositionStart(_);

The composition of a passage of text is prepared (similar to keydown for a keyboard input, but works with other inputs such as speech recognition). MDN documentation

Methods from Deref<Target = CompositionEvent>

pub fn init_composition_event(&self, type_arg: &str)[src]

The initCompositionEvent() method

MDN Documentation

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

pub fn init_composition_event_with_can_bubble_arg(
    &self,
    type_arg: &str,
    can_bubble_arg: bool
)
[src]

The initCompositionEvent() method

MDN Documentation

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

pub fn init_composition_event_with_can_bubble_arg_and_cancelable_arg(
    &self,
    type_arg: &str,
    can_bubble_arg: bool,
    cancelable_arg: bool
)
[src]

The initCompositionEvent() method

MDN Documentation

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

pub fn init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg(
    &self,
    type_arg: &str,
    can_bubble_arg: bool,
    cancelable_arg: bool,
    view_arg: Option<&Window>
)
[src]

The initCompositionEvent() method

MDN Documentation

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

pub fn init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_data_arg(
    &self,
    type_arg: &str,
    can_bubble_arg: bool,
    cancelable_arg: bool,
    view_arg: Option<&Window>,
    data_arg: Option<&str>
)
[src]

The initCompositionEvent() method

MDN Documentation

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

pub fn init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_data_arg_and_locale_arg(
    &self,
    type_arg: &str,
    can_bubble_arg: bool,
    cancelable_arg: bool,
    view_arg: Option<&Window>,
    data_arg: Option<&str>,
    locale_arg: &str
)
[src]

The initCompositionEvent() method

MDN Documentation

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

pub fn data(&self) -> Option<String>[src]

The data getter

MDN Documentation

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

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

The locale getter

MDN Documentation

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

Trait Implementations

impl Event for CompositionStart[src]

impl AsRef<Event> for CompositionStart[src]

impl AsRef<JsValue> for CompositionStart[src]

impl From<CompositionStart> for JsValue[src]

impl Deref for CompositionStart[src]

type Target = CompositionEvent

The resulting type after dereferencing.

impl RefFromWasmAbi for CompositionStart[src]

type Abi = u32

The wasm ABI type references to Self are recovered from.

type Anchor = Ref<'static, CompositionStart>

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

type Abi = u32

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

impl WasmDescribe for CompositionStart[src]

impl OptionFromWasmAbi for CompositionStart[src]

impl OptionIntoWasmAbi for CompositionStart[src]

impl RefMutFromWasmAbi for CompositionStart[src]

type Abi = u32

Same as RefFromWasmAbi::Abi

type Anchor = RefMut<'static, CompositionStart>

Same as RefFromWasmAbi::Anchor

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