Struct web_audio_api::node::DynamicsCompressorOptions
source · pub struct DynamicsCompressorOptions {
pub attack: f32,
pub knee: f32,
pub ratio: f32,
pub release: f32,
pub threshold: f32,
pub channel_config: ChannelConfigOptions,
}
Expand description
Options for constructing a DynamicsCompressorNode
Fields
attack: f32
knee: f32
ratio: f32
release: f32
threshold: f32
channel_config: ChannelConfigOptions
Trait Implementations
sourceimpl Clone for DynamicsCompressorOptions
impl Clone for DynamicsCompressorOptions
sourcefn clone(&self) -> DynamicsCompressorOptions
fn clone(&self) -> DynamicsCompressorOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DynamicsCompressorOptions
impl Debug for DynamicsCompressorOptions
Auto Trait Implementations
impl RefUnwindSafe for DynamicsCompressorOptions
impl Send for DynamicsCompressorOptions
impl Sync for DynamicsCompressorOptions
impl Unpin for DynamicsCompressorOptions
impl UnwindSafe for DynamicsCompressorOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more