Skip to main content

WebAudioEvents

Enum WebAudioEvents 

Source
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

Source

pub fn identifier(&self) -> &'static str

Trait Implementations§

Source§

impl Clone for WebAudioEvents

Source§

fn clone(&self) -> WebAudioEvents

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WebAudioEvents

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for WebAudioEvents

Source§

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

Source§

fn from(v: AudioListenerCreated) -> Self

Converts to this type from the input type.
Source§

impl From<AudioListenerWillBeDestroyed> for WebAudioEvents

Source§

fn from(v: AudioListenerWillBeDestroyed) -> Self

Converts to this type from the input type.
Source§

impl From<AudioNodeCreated> for WebAudioEvents

Source§

fn from(v: AudioNodeCreated) -> Self

Converts to this type from the input type.
Source§

impl From<AudioNodeWillBeDestroyed> for WebAudioEvents

Source§

fn from(v: AudioNodeWillBeDestroyed) -> Self

Converts to this type from the input type.
Source§

impl From<AudioParamCreated> for WebAudioEvents

Source§

fn from(v: AudioParamCreated) -> Self

Converts to this type from the input type.
Source§

impl From<AudioParamWillBeDestroyed> for WebAudioEvents

Source§

fn from(v: AudioParamWillBeDestroyed) -> Self

Converts to this type from the input type.
Source§

impl From<ContextChanged> for WebAudioEvents

Source§

fn from(v: ContextChanged) -> Self

Converts to this type from the input type.
Source§

impl From<ContextCreated> for WebAudioEvents

Source§

fn from(v: ContextCreated) -> Self

Converts to this type from the input type.
Source§

impl From<ContextWillBeDestroyed> for WebAudioEvents

Source§

fn from(v: ContextWillBeDestroyed) -> Self

Converts to this type from the input type.
Source§

impl From<NodeParamConnected> for WebAudioEvents

Source§

fn from(v: NodeParamConnected) -> Self

Converts to this type from the input type.
Source§

impl From<NodeParamDisconnected> for WebAudioEvents

Source§

fn from(v: NodeParamDisconnected) -> Self

Converts to this type from the input type.
Source§

impl From<NodesConnected> for WebAudioEvents

Source§

fn from(v: NodesConnected) -> Self

Converts to this type from the input type.
Source§

impl From<NodesDisconnected> for WebAudioEvents

Source§

fn from(v: NodesDisconnected) -> Self

Converts to this type from the input type.
Source§

impl From<WebAudioEvents> for BrowserProtocolEvents

Source§

fn from(v: WebAudioEvents) -> Self

Converts to this type from the input type.
Source§

impl From<WebAudioEvents> for Event

Source§

fn from(v: WebAudioEvents) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for WebAudioEvents

Source§

fn eq(&self, other: &WebAudioEvents) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for WebAudioEvents

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<BrowserProtocolEvents> for WebAudioEvents

Source§

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>

Performs the conversion.
Source§

impl TryFrom<Event> for WebAudioEvents

Source§

type Error = Event

The type returned in the event of a conversion error.
Source§

fn try_from(e: Event) -> Result<Self, <WebAudioEvents as TryFrom<Event>>::Error>

Performs the conversion.
Source§

impl TryFrom<WebAudioEvents> for AudioListenerCreated

Source§

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>

Performs the conversion.
Source§

impl TryFrom<WebAudioEvents> for AudioListenerWillBeDestroyed

Source§

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>

Performs the conversion.
Source§

impl TryFrom<WebAudioEvents> for AudioNodeCreated

Source§

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>

Performs the conversion.
Source§

impl TryFrom<WebAudioEvents> for AudioNodeWillBeDestroyed

Source§

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>

Performs the conversion.
Source§

impl TryFrom<WebAudioEvents> for AudioParamCreated

Source§

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>

Performs the conversion.
Source§

impl TryFrom<WebAudioEvents> for AudioParamWillBeDestroyed

Source§

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>

Performs the conversion.
Source§

impl TryFrom<WebAudioEvents> for ContextChanged

Source§

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>

Performs the conversion.
Source§

impl TryFrom<WebAudioEvents> for ContextCreated

Source§

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>

Performs the conversion.
Source§

impl TryFrom<WebAudioEvents> for ContextWillBeDestroyed

Source§

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>

Performs the conversion.
Source§

impl TryFrom<WebAudioEvents> for NodeParamConnected

Source§

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>

Performs the conversion.
Source§

impl TryFrom<WebAudioEvents> for NodeParamDisconnected

Source§

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>

Performs the conversion.
Source§

impl TryFrom<WebAudioEvents> for NodesConnected

Source§

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>

Performs the conversion.
Source§

impl TryFrom<WebAudioEvents> for NodesDisconnected

Source§

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>

Performs the conversion.
Source§

impl StructuralPartialEq for WebAudioEvents

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,