pub struct CommandDspDynamicsState {
pub enable: Vec<bool>,
pub comp_enable: Vec<bool>,
pub comp_detect_mode: Vec<LevelDetectMode>,
pub comp_threshold: Vec<i32>,
pub comp_ratio: Vec<f32>,
pub comp_attack: Vec<u32>,
pub comp_release: Vec<u32>,
pub comp_gain: Vec<f32>,
pub leveler_enable: Vec<bool>,
pub leveler_mode: Vec<LevelerMode>,
pub leveler_makeup: Vec<u32>,
pub leveler_reduce: Vec<u32>,
}
Expand description
State of dynamics.
Fields§
§enable: Vec<bool>
whether to enable dynamics effects.
comp_enable: Vec<bool>
Whether to enable compressors.
comp_detect_mode: Vec<LevelDetectMode>
The mode to detect level in compressors.
comp_threshold: Vec<i32>
The threshold of compressors.
comp_ratio: Vec<f32>
The ratio of compressors.
comp_attack: Vec<u32>
The attack of compressors.
comp_release: Vec<u32>
The release of compressors.
comp_gain: Vec<f32>
The gain of compressors.
leveler_enable: Vec<bool>
Whether to enable levelers.
leveler_mode: Vec<LevelerMode>
The mode of levelers.
leveler_makeup: Vec<u32>
The markup of levelers.
leveler_reduce: Vec<u32>
The reduce of levelers.
Trait Implementations§
Source§impl AsMut<CommandDspDynamicsState> for CommandDspInputDynamicsState
impl AsMut<CommandDspDynamicsState> for CommandDspInputDynamicsState
Source§fn as_mut(&mut self) -> &mut CommandDspDynamicsState
fn as_mut(&mut self) -> &mut CommandDspDynamicsState
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<CommandDspDynamicsState> for CommandDspOutputDynamicsState
impl AsMut<CommandDspDynamicsState> for CommandDspOutputDynamicsState
Source§fn as_mut(&mut self) -> &mut CommandDspDynamicsState
fn as_mut(&mut self) -> &mut CommandDspDynamicsState
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<CommandDspDynamicsState> for CommandDspInputDynamicsState
impl AsRef<CommandDspDynamicsState> for CommandDspInputDynamicsState
Source§fn as_ref(&self) -> &CommandDspDynamicsState
fn as_ref(&self) -> &CommandDspDynamicsState
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<CommandDspDynamicsState> for CommandDspOutputDynamicsState
impl AsRef<CommandDspDynamicsState> for CommandDspOutputDynamicsState
Source§fn as_ref(&self) -> &CommandDspDynamicsState
fn as_ref(&self) -> &CommandDspDynamicsState
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for CommandDspDynamicsState
impl Clone for CommandDspDynamicsState
Source§fn clone(&self) -> CommandDspDynamicsState
fn clone(&self) -> CommandDspDynamicsState
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 CommandDspDynamicsState
impl Debug for CommandDspDynamicsState
Source§impl Default for CommandDspDynamicsState
impl Default for CommandDspDynamicsState
Source§fn default() -> CommandDspDynamicsState
fn default() -> CommandDspDynamicsState
Returns the “default value” for a type. Read more
Source§impl PartialEq for CommandDspDynamicsState
impl PartialEq for CommandDspDynamicsState
impl StructuralPartialEq for CommandDspDynamicsState
Auto Trait Implementations§
impl Freeze for CommandDspDynamicsState
impl RefUnwindSafe for CommandDspDynamicsState
impl Send for CommandDspDynamicsState
impl Sync for CommandDspDynamicsState
impl Unpin for CommandDspDynamicsState
impl UnwindSafe for CommandDspDynamicsState
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