Struct chrome_remote_interface_model::web_audio::ContextCreatedEvent[][src]

pub struct ContextCreatedEvent { /* fields omitted */ }
This is supported on crate features experimental and WebAudio only.

Notifies that a new BaseAudioContext has been created.

Implementations

impl ContextCreatedEvent[src]

pub fn new(context: BaseAudioContext) -> Self[src]

pub fn context(&self) -> &BaseAudioContext[src]

Methods from Deref<Target = BaseAudioContext>

pub fn context_id(&self) -> &GraphObjectId[src]

pub fn context_type(&self) -> &ContextType[src]

pub fn context_state(&self) -> &ContextState[src]

pub fn realtime_data(&self) -> Option<&ContextRealtimeData>[src]

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

Platform-dependent callback buffer size.

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

Number of output channels supported by audio hardware in use.

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

Context sample rate.

Trait Implementations

impl Clone for ContextCreatedEvent[src]

impl Debug for ContextCreatedEvent[src]

impl Deref for ContextCreatedEvent[src]

type Target = BaseAudioContext

The resulting type after dereferencing.

impl<'de> Deserialize<'de> for ContextCreatedEvent[src]

impl Serialize for ContextCreatedEvent[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.