pub struct ContextWillBeDestroyedEvent {
pub context_id: GraphObjectId,
}Expand description
Notifies that an existing BaseAudioContext will be destroyed.
Payload of the WebAudio.contextWillBeDestroyed event.
Fields§
§context_id: GraphObjectIdTrait Implementations§
Source§impl Clone for ContextWillBeDestroyedEvent
impl Clone for ContextWillBeDestroyedEvent
Source§impl Debug for ContextWillBeDestroyedEvent
impl Debug for ContextWillBeDestroyedEvent
Source§impl<'de> Deserialize<'de> for ContextWillBeDestroyedEvent
impl<'de> Deserialize<'de> for ContextWillBeDestroyedEvent
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 Event for ContextWillBeDestroyedEvent
impl Event for ContextWillBeDestroyedEvent
impl StructuralPartialEq for ContextWillBeDestroyedEvent
Auto Trait Implementations§
impl Forget for ContextWillBeDestroyedEvent
impl Freeze for ContextWillBeDestroyedEvent
impl RefUnwindSafe for ContextWillBeDestroyedEvent
impl Send for ContextWillBeDestroyedEvent
impl Sync for ContextWillBeDestroyedEvent
impl Unpin for ContextWillBeDestroyedEvent
impl UnsafeUnpin for ContextWillBeDestroyedEvent
impl UnwindSafe for ContextWillBeDestroyedEvent
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