[][src]Struct web_sys::ConvolverOptions

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

The ConvolverOptions dictionary

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

Methods

impl ConvolverOptions[src]

pub fn new() -> ConvolverOptions[src]

Construct a new ConvolverOptions

This API requires the following crate features to be activated: AudioBuffer, ChannelCountMode, ChannelInterpretation, ConvolverOptions

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

Configure the channelCount field of this object

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

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

Configure the channelCountMode field of this object

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

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

Configure the channelInterpretation field of this object

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

pub fn buffer(&mut self, val: Option<&AudioBuffer>) -> &mut Self[src]

Configure the buffer field of this object

This API requires the following crate features to be activated: AudioBuffer, ConvolverOptions

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

Configure the disableNormalization field of this object

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

Trait Implementations

impl AsRef<JsValue> for ConvolverOptions[src]

impl Clone for ConvolverOptions[src]

impl Debug for ConvolverOptions[src]

impl From<ConvolverOptions> for JsValue[src]

impl FromWasmAbi for ConvolverOptions[src]

type Abi = <Object as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for ConvolverOptions[src]

type Abi = <Object as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a ConvolverOptions[src]

type Abi = <&'a Object as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for ConvolverOptions[src]

impl OptionFromWasmAbi for ConvolverOptions[src]

impl OptionIntoWasmAbi for ConvolverOptions[src]

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

impl RefFromWasmAbi for ConvolverOptions[src]

type Abi = <Object as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<ConvolverOptions>

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