pub struct ContextWillBeDestroyed {
pub method: ContextWillBeDestroyedMethod,
pub params: ContextWillBeDestroyedParams,
}Expand description
Notifies that an existing BaseAudioContext will be destroyed. contextWillBeDestroyed
Fields§
§method: ContextWillBeDestroyedMethod§params: ContextWillBeDestroyedParamsImplementations§
Source§impl ContextWillBeDestroyed
impl ContextWillBeDestroyed
pub const IDENTIFIER: &'static str = "WebAudio.contextWillBeDestroyed"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ContextWillBeDestroyed
impl Clone for ContextWillBeDestroyed
Source§fn clone(&self) -> ContextWillBeDestroyed
fn clone(&self) -> ContextWillBeDestroyed
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 ContextWillBeDestroyed
impl Debug for ContextWillBeDestroyed
Source§impl<'de> Deserialize<'de> for ContextWillBeDestroyed
impl<'de> Deserialize<'de> for ContextWillBeDestroyed
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<ContextWillBeDestroyed> for BrowserProtocolEvents
impl From<ContextWillBeDestroyed> for BrowserProtocolEvents
Source§fn from(v: ContextWillBeDestroyed) -> Self
fn from(v: ContextWillBeDestroyed) -> Self
Converts to this type from the input type.
Source§impl From<ContextWillBeDestroyed> for Event
impl From<ContextWillBeDestroyed> for Event
Source§fn from(v: ContextWillBeDestroyed) -> Self
fn from(v: ContextWillBeDestroyed) -> 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 PartialEq for ContextWillBeDestroyed
impl PartialEq for ContextWillBeDestroyed
Source§impl Serialize for ContextWillBeDestroyed
impl Serialize for ContextWillBeDestroyed
Source§impl TryFrom<BrowserProtocolEvents> for ContextWillBeDestroyed
impl TryFrom<BrowserProtocolEvents> for ContextWillBeDestroyed
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, <ContextWillBeDestroyed as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <ContextWillBeDestroyed as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for ContextWillBeDestroyed
impl TryFrom<Event> for ContextWillBeDestroyed
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.
impl StructuralPartialEq for ContextWillBeDestroyed
Auto Trait Implementations§
impl Freeze for ContextWillBeDestroyed
impl RefUnwindSafe for ContextWillBeDestroyed
impl Send for ContextWillBeDestroyed
impl Sync for ContextWillBeDestroyed
impl Unpin for ContextWillBeDestroyed
impl UnsafeUnpin for ContextWillBeDestroyed
impl UnwindSafe for ContextWillBeDestroyed
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