pub enum WebAudioCommands {
Enable(Enable),
Disable(Disable),
GetRealtimeData(GetRealtimeData),
}Variants§
Implementations§
Source§impl WebAudioCommands
impl WebAudioCommands
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for WebAudioCommands
impl Clone for WebAudioCommands
Source§fn clone(&self) -> WebAudioCommands
fn clone(&self) -> WebAudioCommands
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 WebAudioCommands
impl Debug for WebAudioCommands
Source§impl<'de> Deserialize<'de> for WebAudioCommands
impl<'de> Deserialize<'de> for WebAudioCommands
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<Disable> for WebAudioCommands
impl From<Disable> for WebAudioCommands
Source§impl From<Enable> for WebAudioCommands
impl From<Enable> for WebAudioCommands
Source§impl From<GetRealtimeData> for WebAudioCommands
impl From<GetRealtimeData> for WebAudioCommands
Source§fn from(v: GetRealtimeData) -> Self
fn from(v: GetRealtimeData) -> Self
Converts to this type from the input type.
Source§impl From<WebAudioCommands> for BrowserProtocolCommands
impl From<WebAudioCommands> for BrowserProtocolCommands
Source§fn from(v: WebAudioCommands) -> Self
fn from(v: WebAudioCommands) -> Self
Converts to this type from the input type.
Source§impl From<WebAudioCommands> for Command
impl From<WebAudioCommands> for Command
Source§fn from(v: WebAudioCommands) -> Self
fn from(v: WebAudioCommands) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WebAudioCommands
impl PartialEq for WebAudioCommands
Source§impl Serialize for WebAudioCommands
impl Serialize for WebAudioCommands
Source§impl TryFrom<BrowserProtocolCommands> for WebAudioCommands
impl TryFrom<BrowserProtocolCommands> for WebAudioCommands
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <WebAudioCommands as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <WebAudioCommands as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for WebAudioCommands
impl TryFrom<Command> for WebAudioCommands
Source§impl TryFrom<WebAudioCommands> for Disable
impl TryFrom<WebAudioCommands> for Disable
Source§type Error = WebAudioCommands
type Error = WebAudioCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: WebAudioCommands,
) -> Result<Self, <Disable as TryFrom<WebAudioCommands>>::Error>
fn try_from( e: WebAudioCommands, ) -> Result<Self, <Disable as TryFrom<WebAudioCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<WebAudioCommands> for Enable
impl TryFrom<WebAudioCommands> for Enable
Source§type Error = WebAudioCommands
type Error = WebAudioCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: WebAudioCommands,
) -> Result<Self, <Enable as TryFrom<WebAudioCommands>>::Error>
fn try_from( e: WebAudioCommands, ) -> Result<Self, <Enable as TryFrom<WebAudioCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<WebAudioCommands> for GetRealtimeData
impl TryFrom<WebAudioCommands> for GetRealtimeData
Source§type Error = WebAudioCommands
type Error = WebAudioCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: WebAudioCommands,
) -> Result<Self, <GetRealtimeData as TryFrom<WebAudioCommands>>::Error>
fn try_from( e: WebAudioCommands, ) -> Result<Self, <GetRealtimeData as TryFrom<WebAudioCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for WebAudioCommands
Auto Trait Implementations§
impl Freeze for WebAudioCommands
impl RefUnwindSafe for WebAudioCommands
impl Send for WebAudioCommands
impl Sync for WebAudioCommands
impl Unpin for WebAudioCommands
impl UnsafeUnpin for WebAudioCommands
impl UnwindSafe for WebAudioCommands
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