[][src]Struct web_sys::MediaStreamAudioSourceOptions

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

The MediaStreamAudioSourceOptions dictionary.

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

Methods

impl MediaStreamAudioSourceOptions[src]

pub fn new(media_stream: &MediaStream) -> Self[src]

Construct a new MediaStreamAudioSourceOptions.

This API requires the following crate features to be activated: MediaStream, MediaStreamAudioSourceOptions

pub fn media_stream(&mut self, val: &MediaStream) -> &mut Self[src]

Change the mediaStream field of this object.

This API requires the following crate features to be activated: MediaStream, MediaStreamAudioSourceOptions

Trait Implementations

impl AsRef<JsValue> for MediaStreamAudioSourceOptions[src]

impl AsRef<MediaStreamAudioSourceOptions> for MediaStreamAudioSourceOptions[src]

impl AsRef<Object> for MediaStreamAudioSourceOptions[src]

impl Clone for MediaStreamAudioSourceOptions[src]

impl Debug for MediaStreamAudioSourceOptions[src]

impl Deref for MediaStreamAudioSourceOptions[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for MediaStreamAudioSourceOptions[src]

impl From<JsValue> for MediaStreamAudioSourceOptions[src]

impl From<MediaStreamAudioSourceOptions> for JsValue[src]

impl From<MediaStreamAudioSourceOptions> for Object[src]

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

impl OptionFromWasmAbi for MediaStreamAudioSourceOptions[src]

impl OptionIntoWasmAbi for MediaStreamAudioSourceOptions[src]

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

impl PartialEq<MediaStreamAudioSourceOptions> for MediaStreamAudioSourceOptions[src]

impl RefFromWasmAbi for MediaStreamAudioSourceOptions[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<MediaStreamAudioSourceOptions>

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

impl StructuralPartialEq for MediaStreamAudioSourceOptions[src]

impl WasmDescribe for MediaStreamAudioSourceOptions[src]

Auto Trait Implementations

impl RefUnwindSafe for MediaStreamAudioSourceOptions

impl !Send for MediaStreamAudioSourceOptions

impl !Sync for MediaStreamAudioSourceOptions

impl Unpin for MediaStreamAudioSourceOptions

impl UnwindSafe for MediaStreamAudioSourceOptions

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.