[][src]Struct web_sys::SpeechSynthesisVoice

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

The SpeechSynthesisVoice class.

MDN Documentation

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

Implementations

impl SpeechSynthesisVoice[src]

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

Getter for the voiceURI field of this object.

MDN Documentation

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

impl SpeechSynthesisVoice[src]

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

Getter for the name field of this object.

MDN Documentation

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

impl SpeechSynthesisVoice[src]

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

Getter for the lang field of this object.

MDN Documentation

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

impl SpeechSynthesisVoice[src]

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

Getter for the localService field of this object.

MDN Documentation

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

impl SpeechSynthesisVoice[src]

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

Getter for the default field of this object.

MDN Documentation

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

Trait Implementations

impl AsRef<JsValue> for SpeechSynthesisVoice[src]

impl AsRef<Object> for SpeechSynthesisVoice[src]

impl AsRef<SpeechSynthesisVoice> for SpeechSynthesisVoice[src]

impl Clone for SpeechSynthesisVoice[src]

impl Debug for SpeechSynthesisVoice[src]

impl Deref for SpeechSynthesisVoice[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for SpeechSynthesisVoice[src]

impl From<JsValue> for SpeechSynthesisVoice[src]

impl From<SpeechSynthesisVoice> for JsValue[src]

impl From<SpeechSynthesisVoice> for Object[src]

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

impl OptionFromWasmAbi for SpeechSynthesisVoice[src]

impl OptionIntoWasmAbi for SpeechSynthesisVoice[src]

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

impl PartialEq<SpeechSynthesisVoice> for SpeechSynthesisVoice[src]

impl RefFromWasmAbi for SpeechSynthesisVoice[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<SpeechSynthesisVoice>

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

impl StructuralPartialEq for SpeechSynthesisVoice[src]

impl WasmDescribe for SpeechSynthesisVoice[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.