Struct chrome_remote_interface_model::web_audio::BaseAudioContextBuilder[][src]

pub struct BaseAudioContextBuilder { /* fields omitted */ }

Implementations

impl BaseAudioContextBuilder[src]

pub fn context_id(&mut self, v: GraphObjectId) -> &mut Self[src]

pub fn context_type(&mut self, v: ContextType) -> &mut Self[src]

pub fn context_state(&mut self, v: ContextState) -> &mut Self[src]

pub fn realtime_data(&mut self, v: ContextRealtimeData) -> &mut Self[src]

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

Platform-dependent callback buffer size.

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

Number of output channels supported by audio hardware in use.

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

Context sample rate.

pub fn build(&mut self) -> Result<BaseAudioContext, &'static str>[src]

Trait Implementations

impl Clone for BaseAudioContextBuilder[src]

impl Debug for BaseAudioContextBuilder[src]

impl Default for BaseAudioContextBuilder[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> 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.