Struct chrome_remote_interface_model::web_audio::ContextChangedEvent [−][src]
This is supported on crate features
experimental
and WebAudio
only.Notifies that existing BaseAudioContext has changed some properties (id stays the same)..
Implementations
impl ContextChangedEvent
[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 ContextChangedEvent
[src]
fn clone(&self) -> ContextChangedEvent
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ContextChangedEvent
[src]
impl Deref for ContextChangedEvent
[src]
type Target = BaseAudioContext
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl<'de> Deserialize<'de> for ContextChangedEvent
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for ContextChangedEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for ContextChangedEvent
[src]
impl Send for ContextChangedEvent
[src]
impl Sync for ContextChangedEvent
[src]
impl Unpin for ContextChangedEvent
[src]
impl UnwindSafe for ContextChangedEvent
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,