[][src]Struct web_sys::AudioWorkletProcessor

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

The AudioWorkletProcessor class.

MDN Documentation

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

Methods

impl AudioWorkletProcessor[src]

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

Getter for the port field of this object.

MDN Documentation

This API requires the following crate features to be activated: AudioWorkletProcessor, MessagePort

impl AudioWorkletProcessor[src]

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

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

MDN Documentation

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

impl AudioWorkletProcessor[src]

pub fn new_with_options(
    options: &AudioWorkletNodeOptions
) -> Result<AudioWorkletProcessor, JsValue>
[src]

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

MDN Documentation

This API requires the following crate features to be activated: AudioWorkletNodeOptions, AudioWorkletProcessor

Trait Implementations

impl AsRef<AudioWorkletProcessor> for AudioWorkletProcessor[src]

impl AsRef<JsValue> for AudioWorkletProcessor[src]

impl AsRef<Object> for AudioWorkletProcessor[src]

impl Clone for AudioWorkletProcessor[src]

impl Debug for AudioWorkletProcessor[src]

impl Deref for AudioWorkletProcessor[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for AudioWorkletProcessor[src]

impl From<AudioWorkletProcessor> for JsValue[src]

impl From<AudioWorkletProcessor> for Object[src]

impl From<JsValue> for AudioWorkletProcessor[src]

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

impl OptionFromWasmAbi for AudioWorkletProcessor[src]

impl OptionIntoWasmAbi for AudioWorkletProcessor[src]

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

impl PartialEq<AudioWorkletProcessor> for AudioWorkletProcessor[src]

impl RefFromWasmAbi for AudioWorkletProcessor[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<AudioWorkletProcessor>

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

impl StructuralPartialEq for AudioWorkletProcessor[src]

impl WasmDescribe for AudioWorkletProcessor[src]

Auto Trait Implementations

impl RefUnwindSafe for AudioWorkletProcessor

impl !Send for AudioWorkletProcessor

impl !Sync for AudioWorkletProcessor

impl Unpin for AudioWorkletProcessor

impl UnwindSafe for AudioWorkletProcessor

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.