[][src]Struct web_sys::SpeechSynthesisErrorEvent

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

The SpeechSynthesisErrorEvent class.

MDN Documentation

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

Implementations

impl SpeechSynthesisErrorEvent[src]

pub fn error(&self) -> SpeechSynthesisErrorCode[src]

Getter for the error field of this object.

MDN Documentation

This API requires the following crate features to be activated: SpeechSynthesisErrorCode, SpeechSynthesisErrorEvent

impl SpeechSynthesisErrorEvent[src]

pub fn new(
    type_: &str,
    event_init_dict: &SpeechSynthesisErrorEventInit
) -> Result<SpeechSynthesisErrorEvent, JsValue>
[src]

The new SpeechSynthesisErrorEvent(..) constructor, creating a new instance of SpeechSynthesisErrorEvent.

MDN Documentation

This API requires the following crate features to be activated: SpeechSynthesisErrorEvent, SpeechSynthesisErrorEventInit

Methods from Deref<Target = SpeechSynthesisEvent>

pub fn utterance(&self) -> SpeechSynthesisUtterance[src]

Getter for the utterance field of this object.

MDN Documentation

This API requires the following crate features to be activated: SpeechSynthesisEvent, SpeechSynthesisUtterance

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

Getter for the charIndex field of this object.

MDN Documentation

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

pub fn char_length(&self) -> Option<u32>[src]

Getter for the charLength field of this object.

MDN Documentation

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

pub fn elapsed_time(&self) -> f32[src]

Getter for the elapsedTime field of this object.

MDN Documentation

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

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

Getter for the name field of this object.

MDN Documentation

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

Trait Implementations

impl AsRef<Event> for SpeechSynthesisErrorEvent[src]

impl AsRef<JsValue> for SpeechSynthesisErrorEvent[src]

impl AsRef<Object> for SpeechSynthesisErrorEvent[src]

impl AsRef<SpeechSynthesisErrorEvent> for SpeechSynthesisErrorEvent[src]

impl AsRef<SpeechSynthesisEvent> for SpeechSynthesisErrorEvent[src]

impl Clone for SpeechSynthesisErrorEvent[src]

impl Debug for SpeechSynthesisErrorEvent[src]

impl Deref for SpeechSynthesisErrorEvent[src]

type Target = SpeechSynthesisEvent

The resulting type after dereferencing.

impl Eq for SpeechSynthesisErrorEvent[src]

impl From<JsValue> for SpeechSynthesisErrorEvent[src]

impl From<SpeechSynthesisErrorEvent> for JsValue[src]

impl From<SpeechSynthesisErrorEvent> for SpeechSynthesisEvent[src]

impl From<SpeechSynthesisErrorEvent> for Event[src]

impl From<SpeechSynthesisErrorEvent> for Object[src]

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

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

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

impl JsCast for SpeechSynthesisErrorEvent[src]

impl OptionFromWasmAbi for SpeechSynthesisErrorEvent[src]

impl OptionIntoWasmAbi for SpeechSynthesisErrorEvent[src]

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

impl PartialEq<SpeechSynthesisErrorEvent> for SpeechSynthesisErrorEvent[src]

impl RefFromWasmAbi for SpeechSynthesisErrorEvent[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<SpeechSynthesisErrorEvent>

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 StructuralEq for SpeechSynthesisErrorEvent[src]

impl StructuralPartialEq for SpeechSynthesisErrorEvent[src]

impl WasmDescribe for SpeechSynthesisErrorEvent[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.