[][src]Struct web_sys::AnalyserOptions

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

The AnalyserOptions dictionary.

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

Methods

impl AnalyserOptions[src]

pub fn new() -> Self[src]

Construct a new AnalyserOptions.

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

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

Change the channelCount field of this object.

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

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

Change the channelCountMode field of this object.

This API requires the following crate features to be activated: AnalyserOptions, ChannelCountMode

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

Change the channelInterpretation field of this object.

This API requires the following crate features to be activated: AnalyserOptions, ChannelInterpretation

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

Change the fftSize field of this object.

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

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

Change the maxDecibels field of this object.

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

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

Change the minDecibels field of this object.

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

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

Change the smoothingTimeConstant field of this object.

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

Trait Implementations

impl AsRef<AnalyserOptions> for AnalyserOptions[src]

impl AsRef<JsValue> for AnalyserOptions[src]

impl AsRef<Object> for AnalyserOptions[src]

impl Clone for AnalyserOptions[src]

impl Debug for AnalyserOptions[src]

impl Deref for AnalyserOptions[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for AnalyserOptions[src]

impl From<AnalyserOptions> for JsValue[src]

impl From<AnalyserOptions> for Object[src]

impl From<JsValue> for AnalyserOptions[src]

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

impl OptionFromWasmAbi for AnalyserOptions[src]

impl OptionIntoWasmAbi for AnalyserOptions[src]

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

impl PartialEq<AnalyserOptions> for AnalyserOptions[src]

impl RefFromWasmAbi for AnalyserOptions[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<AnalyserOptions>

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

impl StructuralPartialEq for AnalyserOptions[src]

impl WasmDescribe for AnalyserOptions[src]

Auto Trait Implementations

impl RefUnwindSafe for AnalyserOptions

impl !Send for AnalyserOptions

impl !Sync for AnalyserOptions

impl Unpin for AnalyserOptions

impl UnwindSafe for AnalyserOptions

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.