[][src]Struct web_sys::SpeechSynthesisErrorEvent

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

The SpeechSynthesisErrorEvent object

MDN Documentation

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

Methods

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

impl SpeechSynthesisErrorEvent[src]

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

The error getter

MDN Documentation

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

Methods from Deref<Target = SpeechSynthesisEvent>

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

The utterance getter

MDN Documentation

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

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

The charIndex getter

MDN Documentation

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

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

The charLength getter

MDN Documentation

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

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

The elapsedTime getter

MDN Documentation

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

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

The name getter

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

impl RefUnwindSafe for SpeechSynthesisErrorEvent

impl !Send for SpeechSynthesisErrorEvent

impl !Sync for SpeechSynthesisErrorEvent

impl Unpin for SpeechSynthesisErrorEvent

impl UnwindSafe for SpeechSynthesisErrorEvent

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.