[][src]Struct web_sys::AudioWorkletGlobalScope

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

The AudioWorkletGlobalScope class.

MDN Documentation

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

Implementations

impl AudioWorkletGlobalScope[src]

pub fn current_frame(&self) -> f64[src]

Getter for the currentFrame field of this object.

MDN Documentation

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

impl AudioWorkletGlobalScope[src]

pub fn current_time(&self) -> f64[src]

Getter for the currentTime field of this object.

MDN Documentation

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

impl AudioWorkletGlobalScope[src]

pub fn sample_rate(&self) -> f32[src]

Getter for the sampleRate field of this object.

MDN Documentation

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

impl AudioWorkletGlobalScope[src]

pub fn register_processor(&self, name: &str, processor_ctor: &Function)[src]

The registerProcessor() method.

MDN Documentation

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

Trait Implementations

impl AsRef<AudioWorkletGlobalScope> for AudioWorkletGlobalScope[src]

impl AsRef<JsValue> for AudioWorkletGlobalScope[src]

impl AsRef<Object> for AudioWorkletGlobalScope[src]

impl AsRef<WorkletGlobalScope> for AudioWorkletGlobalScope[src]

impl Clone for AudioWorkletGlobalScope[src]

impl Debug for AudioWorkletGlobalScope[src]

impl Deref for AudioWorkletGlobalScope[src]

type Target = WorkletGlobalScope

The resulting type after dereferencing.

impl Eq for AudioWorkletGlobalScope[src]

impl From<AudioWorkletGlobalScope> for JsValue[src]

impl From<AudioWorkletGlobalScope> for WorkletGlobalScope[src]

impl From<AudioWorkletGlobalScope> for Object[src]

impl From<JsValue> for AudioWorkletGlobalScope[src]

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

impl OptionFromWasmAbi for AudioWorkletGlobalScope[src]

impl OptionIntoWasmAbi for AudioWorkletGlobalScope[src]

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

impl PartialEq<AudioWorkletGlobalScope> for AudioWorkletGlobalScope[src]

impl RefFromWasmAbi for AudioWorkletGlobalScope[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<AudioWorkletGlobalScope>

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

impl StructuralPartialEq for AudioWorkletGlobalScope[src]

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