pub struct AudioParamBuilder { /* private fields */ }Available on crate features
experimental and WebAudio only.Implementations§
Source§impl AudioParamBuilder
impl AudioParamBuilder
pub fn param_id(&mut self, v: GraphObjectId) -> &mut Self
pub fn node_id(&mut self, v: GraphObjectId) -> &mut Self
pub fn context_id(&mut self, v: GraphObjectId) -> &mut Self
pub fn param_type(&mut self, v: ParamType) -> &mut Self
pub fn rate(&mut self, v: AutomationRate) -> &mut Self
pub fn default_value(&mut self, v: f64) -> &mut Self
pub fn min_value(&mut self, v: f64) -> &mut Self
pub fn max_value(&mut self, v: f64) -> &mut Self
pub fn build(&mut self) -> Result<AudioParam, &'static str>
Trait Implementations§
Source§impl Clone for AudioParamBuilder
impl Clone for AudioParamBuilder
Source§fn clone(&self) -> AudioParamBuilder
fn clone(&self) -> AudioParamBuilder
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 AudioParamBuilder
impl Debug for AudioParamBuilder
Auto Trait Implementations§
impl Freeze for AudioParamBuilder
impl RefUnwindSafe for AudioParamBuilder
impl Send for AudioParamBuilder
impl Sync for AudioParamBuilder
impl Unpin for AudioParamBuilder
impl UnwindSafe for AudioParamBuilder
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