pub struct ContextCreatedEvent {
pub context: BaseAudioContext,
}Expand description
Notifies that a new BaseAudioContext has been created.
Payload of the WebAudio.contextCreated event.
Fields§
§context: BaseAudioContextTrait Implementations§
Source§impl Clone for ContextCreatedEvent
impl Clone for ContextCreatedEvent
Source§impl Debug for ContextCreatedEvent
impl Debug for ContextCreatedEvent
Source§impl<'de> Deserialize<'de> for ContextCreatedEvent
impl<'de> Deserialize<'de> for ContextCreatedEvent
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 ContextCreatedEvent
impl Event for ContextCreatedEvent
Source§impl PartialEq for ContextCreatedEvent
impl PartialEq for ContextCreatedEvent
Source§impl Serialize for ContextCreatedEvent
impl Serialize for ContextCreatedEvent
impl StructuralPartialEq for ContextCreatedEvent
Auto Trait Implementations§
impl Forget for ContextCreatedEvent
impl Freeze for ContextCreatedEvent
impl RefUnwindSafe for ContextCreatedEvent
impl Send for ContextCreatedEvent
impl Sync for ContextCreatedEvent
impl Unpin for ContextCreatedEvent
impl UnsafeUnpin for ContextCreatedEvent
impl UnwindSafe for ContextCreatedEvent
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