[]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 data(&self) -> Option<String>[src]

Getter for the data field of this object.

MDN Documentation

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

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

Getter for the locale field of this object.

MDN Documentation

This API requires the following crate features to be activated: 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

Trait Implementations

impl AsRef<Event> for CompositionStart[src]

impl AsRef<JsValue> for CompositionStart[src]

impl Deref for CompositionStart[src]

type Target = CompositionEvent

The resulting type after dereferencing.

impl Event for CompositionStart[src]

impl From<CompositionStart> for JsValue[src]

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

impl OptionFromWasmAbi for CompositionStart[src]

impl OptionIntoWasmAbi for CompositionStart[src]

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

type Abi = u32

Same as RefFromWasmAbi::Abi

type Anchor = RefMut<'static, CompositionStart>

Same as RefFromWasmAbi::Anchor

impl WasmDescribe for CompositionStart[src]

Auto Trait Implementations

impl RefUnwindSafe for CompositionStart

impl !Send for CompositionStart

impl !Sync for CompositionStart

impl Unpin for CompositionStart

impl UnwindSafe for CompositionStart

Blanket Implementations

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

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

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

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

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

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

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

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.