Struct chromiumoxide_cdp::cdp::browser_protocol::web_audio::AudioParamBuilder
source · pub struct AudioParamBuilder { /* private fields */ }
Implementations§
source§impl AudioParamBuilder
impl AudioParamBuilder
pub fn param_id(self, param_id: impl Into<GraphObjectId>) -> Self
pub fn node_id(self, node_id: impl Into<GraphObjectId>) -> Self
pub fn context_id(self, context_id: impl Into<GraphObjectId>) -> Self
pub fn param_type(self, param_type: impl Into<ParamType>) -> Self
pub fn rate(self, rate: impl Into<AutomationRate>) -> Self
pub fn default_value(self, default_value: impl Into<f64>) -> Self
pub fn min_value(self, min_value: impl Into<f64>) -> Self
pub fn max_value(self, max_value: impl Into<f64>) -> Self
pub fn build(self) -> Result<AudioParam, String>
Trait Implementations§
source§impl Clone for AudioParamBuilder
impl Clone for AudioParamBuilder
source§fn clone(&self) -> AudioParamBuilder
fn clone(&self) -> AudioParamBuilder
Returns a copy 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 Default for AudioParamBuilder
impl Default for AudioParamBuilder
source§fn default() -> AudioParamBuilder
fn default() -> AudioParamBuilder
Returns the “default value” for a type. Read more
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