pub struct AudioParam { /* private fields */ }Available on crate features
experimental and WebAudio only.Expand description
Protocol object for AudioParam
Implementations§
Source§impl AudioParam
impl AudioParam
pub fn builder() -> AudioParamBuilder
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 AudioParam
impl Clone for AudioParam
Source§fn clone(&self) -> AudioParam
fn clone(&self) -> AudioParam
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 AudioParam
impl Debug for AudioParam
Source§impl<'de> Deserialize<'de> for AudioParam
impl<'de> Deserialize<'de> for AudioParam
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 AudioParam
impl RefUnwindSafe for AudioParam
impl Send for AudioParam
impl Sync for AudioParam
impl Unpin for AudioParam
impl UnwindSafe for AudioParam
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