pub enum WebAudioEvents {
Show 13 variants
ContextCreated(ContextCreated),
ContextWillBeDestroyed(ContextWillBeDestroyed),
ContextChanged(ContextChanged),
AudioListenerCreated(AudioListenerCreated),
AudioListenerWillBeDestroyed(AudioListenerWillBeDestroyed),
AudioNodeCreated(AudioNodeCreated),
AudioNodeWillBeDestroyed(AudioNodeWillBeDestroyed),
AudioParamCreated(AudioParamCreated),
AudioParamWillBeDestroyed(AudioParamWillBeDestroyed),
NodesConnected(NodesConnected),
NodesDisconnected(NodesDisconnected),
NodeParamConnected(NodeParamConnected),
NodeParamDisconnected(NodeParamDisconnected),
}Variants§
ContextCreated(ContextCreated)
ContextWillBeDestroyed(ContextWillBeDestroyed)
ContextChanged(ContextChanged)
AudioListenerCreated(AudioListenerCreated)
AudioListenerWillBeDestroyed(AudioListenerWillBeDestroyed)
AudioNodeCreated(AudioNodeCreated)
AudioNodeWillBeDestroyed(AudioNodeWillBeDestroyed)
AudioParamCreated(AudioParamCreated)
AudioParamWillBeDestroyed(AudioParamWillBeDestroyed)
NodesConnected(NodesConnected)
NodesDisconnected(NodesDisconnected)
NodeParamConnected(NodeParamConnected)
NodeParamDisconnected(NodeParamDisconnected)
Implementations§
Source§impl WebAudioEvents
impl WebAudioEvents
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for WebAudioEvents
impl Clone for WebAudioEvents
Source§fn clone(&self) -> WebAudioEvents
fn clone(&self) -> WebAudioEvents
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 WebAudioEvents
impl Debug for WebAudioEvents
Source§impl<'de> Deserialize<'de> for WebAudioEvents
impl<'de> Deserialize<'de> for WebAudioEvents
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<AudioListenerCreated> for WebAudioEvents
impl From<AudioListenerCreated> for WebAudioEvents
Source§fn from(v: AudioListenerCreated) -> Self
fn from(v: AudioListenerCreated) -> Self
Converts to this type from the input type.
Source§impl From<AudioListenerWillBeDestroyed> for WebAudioEvents
impl From<AudioListenerWillBeDestroyed> for WebAudioEvents
Source§fn from(v: AudioListenerWillBeDestroyed) -> Self
fn from(v: AudioListenerWillBeDestroyed) -> Self
Converts to this type from the input type.
Source§impl From<AudioNodeCreated> for WebAudioEvents
impl From<AudioNodeCreated> for WebAudioEvents
Source§fn from(v: AudioNodeCreated) -> Self
fn from(v: AudioNodeCreated) -> Self
Converts to this type from the input type.
Source§impl From<AudioNodeWillBeDestroyed> for WebAudioEvents
impl From<AudioNodeWillBeDestroyed> for WebAudioEvents
Source§fn from(v: AudioNodeWillBeDestroyed) -> Self
fn from(v: AudioNodeWillBeDestroyed) -> Self
Converts to this type from the input type.
Source§impl From<AudioParamCreated> for WebAudioEvents
impl From<AudioParamCreated> for WebAudioEvents
Source§fn from(v: AudioParamCreated) -> Self
fn from(v: AudioParamCreated) -> Self
Converts to this type from the input type.
Source§impl From<AudioParamWillBeDestroyed> for WebAudioEvents
impl From<AudioParamWillBeDestroyed> for WebAudioEvents
Source§fn from(v: AudioParamWillBeDestroyed) -> Self
fn from(v: AudioParamWillBeDestroyed) -> 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 From<ContextCreated> for WebAudioEvents
impl From<ContextCreated> for WebAudioEvents
Source§fn from(v: ContextCreated) -> Self
fn from(v: ContextCreated) -> Self
Converts to this type from the input type.
Source§impl From<ContextWillBeDestroyed> for WebAudioEvents
impl From<ContextWillBeDestroyed> for WebAudioEvents
Source§fn from(v: ContextWillBeDestroyed) -> Self
fn from(v: ContextWillBeDestroyed) -> Self
Converts to this type from the input type.
Source§impl From<NodeParamConnected> for WebAudioEvents
impl From<NodeParamConnected> for WebAudioEvents
Source§fn from(v: NodeParamConnected) -> Self
fn from(v: NodeParamConnected) -> Self
Converts to this type from the input type.
Source§impl From<NodeParamDisconnected> for WebAudioEvents
impl From<NodeParamDisconnected> for WebAudioEvents
Source§fn from(v: NodeParamDisconnected) -> Self
fn from(v: NodeParamDisconnected) -> Self
Converts to this type from the input type.
Source§impl From<NodesConnected> for WebAudioEvents
impl From<NodesConnected> for WebAudioEvents
Source§fn from(v: NodesConnected) -> Self
fn from(v: NodesConnected) -> Self
Converts to this type from the input type.
Source§impl From<NodesDisconnected> for WebAudioEvents
impl From<NodesDisconnected> for WebAudioEvents
Source§fn from(v: NodesDisconnected) -> Self
fn from(v: NodesDisconnected) -> Self
Converts to this type from the input type.
Source§impl From<WebAudioEvents> for BrowserProtocolEvents
impl From<WebAudioEvents> for BrowserProtocolEvents
Source§fn from(v: WebAudioEvents) -> Self
fn from(v: WebAudioEvents) -> Self
Converts to this type from the input type.
Source§impl From<WebAudioEvents> for Event
impl From<WebAudioEvents> for Event
Source§fn from(v: WebAudioEvents) -> Self
fn from(v: WebAudioEvents) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WebAudioEvents
impl PartialEq for WebAudioEvents
Source§impl Serialize for WebAudioEvents
impl Serialize for WebAudioEvents
Source§impl TryFrom<BrowserProtocolEvents> for WebAudioEvents
impl TryFrom<BrowserProtocolEvents> for WebAudioEvents
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, <WebAudioEvents as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <WebAudioEvents as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for WebAudioEvents
impl TryFrom<Event> for WebAudioEvents
Source§impl TryFrom<WebAudioEvents> for AudioListenerCreated
impl TryFrom<WebAudioEvents> for AudioListenerCreated
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, <AudioListenerCreated as TryFrom<WebAudioEvents>>::Error>
fn try_from( e: WebAudioEvents, ) -> Result<Self, <AudioListenerCreated as TryFrom<WebAudioEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<WebAudioEvents> for AudioListenerWillBeDestroyed
impl TryFrom<WebAudioEvents> for AudioListenerWillBeDestroyed
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, <AudioListenerWillBeDestroyed as TryFrom<WebAudioEvents>>::Error>
fn try_from( e: WebAudioEvents, ) -> Result<Self, <AudioListenerWillBeDestroyed as TryFrom<WebAudioEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<WebAudioEvents> for AudioNodeCreated
impl TryFrom<WebAudioEvents> for AudioNodeCreated
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, <AudioNodeCreated as TryFrom<WebAudioEvents>>::Error>
fn try_from( e: WebAudioEvents, ) -> Result<Self, <AudioNodeCreated as TryFrom<WebAudioEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<WebAudioEvents> for AudioNodeWillBeDestroyed
impl TryFrom<WebAudioEvents> for AudioNodeWillBeDestroyed
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, <AudioNodeWillBeDestroyed as TryFrom<WebAudioEvents>>::Error>
fn try_from( e: WebAudioEvents, ) -> Result<Self, <AudioNodeWillBeDestroyed as TryFrom<WebAudioEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<WebAudioEvents> for AudioParamCreated
impl TryFrom<WebAudioEvents> for AudioParamCreated
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, <AudioParamCreated as TryFrom<WebAudioEvents>>::Error>
fn try_from( e: WebAudioEvents, ) -> Result<Self, <AudioParamCreated as TryFrom<WebAudioEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<WebAudioEvents> for AudioParamWillBeDestroyed
impl TryFrom<WebAudioEvents> for AudioParamWillBeDestroyed
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, <AudioParamWillBeDestroyed as TryFrom<WebAudioEvents>>::Error>
fn try_from( e: WebAudioEvents, ) -> Result<Self, <AudioParamWillBeDestroyed as TryFrom<WebAudioEvents>>::Error>
Performs the conversion.
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.
Source§impl TryFrom<WebAudioEvents> for ContextCreated
impl TryFrom<WebAudioEvents> for ContextCreated
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, <ContextCreated as TryFrom<WebAudioEvents>>::Error>
fn try_from( e: WebAudioEvents, ) -> Result<Self, <ContextCreated as TryFrom<WebAudioEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<WebAudioEvents> for ContextWillBeDestroyed
impl TryFrom<WebAudioEvents> for ContextWillBeDestroyed
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, <ContextWillBeDestroyed as TryFrom<WebAudioEvents>>::Error>
fn try_from( e: WebAudioEvents, ) -> Result<Self, <ContextWillBeDestroyed as TryFrom<WebAudioEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<WebAudioEvents> for NodeParamConnected
impl TryFrom<WebAudioEvents> for NodeParamConnected
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, <NodeParamConnected as TryFrom<WebAudioEvents>>::Error>
fn try_from( e: WebAudioEvents, ) -> Result<Self, <NodeParamConnected as TryFrom<WebAudioEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<WebAudioEvents> for NodeParamDisconnected
impl TryFrom<WebAudioEvents> for NodeParamDisconnected
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, <NodeParamDisconnected as TryFrom<WebAudioEvents>>::Error>
fn try_from( e: WebAudioEvents, ) -> Result<Self, <NodeParamDisconnected as TryFrom<WebAudioEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<WebAudioEvents> for NodesConnected
impl TryFrom<WebAudioEvents> for NodesConnected
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, <NodesConnected as TryFrom<WebAudioEvents>>::Error>
fn try_from( e: WebAudioEvents, ) -> Result<Self, <NodesConnected as TryFrom<WebAudioEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<WebAudioEvents> for NodesDisconnected
impl TryFrom<WebAudioEvents> for NodesDisconnected
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, <NodesDisconnected as TryFrom<WebAudioEvents>>::Error>
fn try_from( e: WebAudioEvents, ) -> Result<Self, <NodesDisconnected as TryFrom<WebAudioEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for WebAudioEvents
Auto Trait Implementations§
impl Freeze for WebAudioEvents
impl RefUnwindSafe for WebAudioEvents
impl Send for WebAudioEvents
impl Sync for WebAudioEvents
impl Unpin for WebAudioEvents
impl UnsafeUnpin for WebAudioEvents
impl UnwindSafe for WebAudioEvents
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