pub struct ContextChanged {
pub method: ContextChangedMethod,
pub params: ContextChangedParams,
}Expand description
Notifies that existing BaseAudioContext has changed some properties (id stays the same).. contextChanged
Fields§
§method: ContextChangedMethod§params: ContextChangedParamsImplementations§
Source§impl ContextChanged
impl ContextChanged
pub const IDENTIFIER: &'static str = "WebAudio.contextChanged"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ContextChanged
impl Clone for ContextChanged
Source§fn clone(&self) -> ContextChanged
fn clone(&self) -> ContextChanged
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContextChanged
impl Debug for ContextChanged
Source§impl<'de> Deserialize<'de> for ContextChanged
impl<'de> Deserialize<'de> for ContextChanged
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ContextChanged> for BrowserProtocolEvents
impl From<ContextChanged> for BrowserProtocolEvents
Source§fn from(v: ContextChanged) -> Self
fn from(v: ContextChanged) -> Self
Converts to this type from the input type.
Source§impl From<ContextChanged> for Event
impl From<ContextChanged> for Event
Source§fn from(v: ContextChanged) -> Self
fn from(v: ContextChanged) -> Self
Converts to this type from the input type.
Source§impl From<ContextChanged> for WebAudioEvents
impl From<ContextChanged> for WebAudioEvents
Source§fn from(v: ContextChanged) -> Self
fn from(v: ContextChanged) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ContextChanged
impl PartialEq for ContextChanged
Source§impl Serialize for ContextChanged
impl Serialize for ContextChanged
Source§impl TryFrom<BrowserProtocolEvents> for ContextChanged
impl TryFrom<BrowserProtocolEvents> for ContextChanged
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <ContextChanged as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <ContextChanged as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for ContextChanged
impl TryFrom<Event> for ContextChanged
Source§impl TryFrom<WebAudioEvents> for ContextChanged
impl TryFrom<WebAudioEvents> for ContextChanged
Source§type Error = WebAudioEvents
type Error = WebAudioEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: WebAudioEvents,
) -> Result<Self, <ContextChanged as TryFrom<WebAudioEvents>>::Error>
fn try_from( e: WebAudioEvents, ) -> Result<Self, <ContextChanged as TryFrom<WebAudioEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for ContextChanged
Auto Trait Implementations§
impl Freeze for ContextChanged
impl RefUnwindSafe for ContextChanged
impl Send for ContextChanged
impl Sync for ContextChanged
impl Unpin for ContextChanged
impl UnsafeUnpin for ContextChanged
impl UnwindSafe for ContextChanged
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more