pub struct AudioParamCreatedEvent { /* private fields */ }Available on crate features
experimental and WebAudio only.Expand description
Notifies that a new AudioParam has been created.
Implementations§
Source§impl AudioParamCreatedEvent
impl AudioParamCreatedEvent
pub fn new(param: AudioParam) -> Self
pub fn param(&self) -> &AudioParam
Methods from Deref<Target = AudioParam>§
pub fn param_id(&self) -> &GraphObjectId
pub fn node_id(&self) -> &GraphObjectId
pub fn context_id(&self) -> &GraphObjectId
pub fn param_type(&self) -> &ParamType
pub fn rate(&self) -> &AutomationRate
pub fn default_value(&self) -> f64
pub fn min_value(&self) -> f64
pub fn max_value(&self) -> f64
Trait Implementations§
Source§impl Clone for AudioParamCreatedEvent
impl Clone for AudioParamCreatedEvent
Source§fn clone(&self) -> AudioParamCreatedEvent
fn clone(&self) -> AudioParamCreatedEvent
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 AudioParamCreatedEvent
impl Debug for AudioParamCreatedEvent
Source§impl Deref for AudioParamCreatedEvent
impl Deref for AudioParamCreatedEvent
Source§impl<'de> Deserialize<'de> for AudioParamCreatedEvent
impl<'de> Deserialize<'de> for AudioParamCreatedEvent
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
Auto Trait Implementations§
impl Freeze for AudioParamCreatedEvent
impl RefUnwindSafe for AudioParamCreatedEvent
impl Send for AudioParamCreatedEvent
impl Sync for AudioParamCreatedEvent
impl Unpin for AudioParamCreatedEvent
impl UnwindSafe for AudioParamCreatedEvent
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