[][src]Struct web_sys::SpeechGrammar

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

The SpeechGrammar class.

MDN Documentation

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

Implementations

impl SpeechGrammar[src]

pub fn src(&self) -> Result<String, JsValue>[src]

Getter for the src field of this object.

MDN Documentation

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

impl SpeechGrammar[src]

pub fn set_src(&self, value: &str) -> Result<(), JsValue>[src]

Setter for the src field of this object.

MDN Documentation

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

impl SpeechGrammar[src]

pub fn weight(&self) -> Result<f32, JsValue>[src]

Getter for the weight field of this object.

MDN Documentation

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

impl SpeechGrammar[src]

pub fn set_weight(&self, value: f32) -> Result<(), JsValue>[src]

Setter for the weight field of this object.

MDN Documentation

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

impl SpeechGrammar[src]

pub fn new() -> Result<SpeechGrammar, JsValue>[src]

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

MDN Documentation

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

Trait Implementations

impl AsRef<JsValue> for SpeechGrammar[src]

impl AsRef<Object> for SpeechGrammar[src]

impl AsRef<SpeechGrammar> for SpeechGrammar[src]

impl Clone for SpeechGrammar[src]

impl Debug for SpeechGrammar[src]

impl Deref for SpeechGrammar[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for SpeechGrammar[src]

impl From<JsValue> for SpeechGrammar[src]

impl From<SpeechGrammar> for JsValue[src]

impl From<SpeechGrammar> for Object[src]

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

impl OptionFromWasmAbi for SpeechGrammar[src]

impl OptionIntoWasmAbi for SpeechGrammar[src]

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

impl PartialEq<SpeechGrammar> for SpeechGrammar[src]

impl RefFromWasmAbi for SpeechGrammar[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<SpeechGrammar>

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

impl StructuralPartialEq for SpeechGrammar[src]

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