pub struct AudioReactConfig {
pub band: AudioBand,
pub sensitivity: f32,
pub smoothing: f32,
pub enabled: bool,
}Expand description
Audio-reactive modulation configuration
Fields§
§band: AudioBandWhich frequency band to react to
sensitivity: f32Sensitivity multiplier (0.0 - 2.0, 1.0 = normal)
smoothing: f32Smoothing factor (0.0 = instant, 1.0 = very smooth)
enabled: boolWhether audio modulation is enabled
Trait Implementations§
Source§impl Clone for AudioReactConfig
impl Clone for AudioReactConfig
Source§fn clone(&self) -> AudioReactConfig
fn clone(&self) -> AudioReactConfig
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 AudioReactConfig
impl Debug for AudioReactConfig
Source§impl Default for AudioReactConfig
impl Default for AudioReactConfig
Source§fn default() -> AudioReactConfig
fn default() -> AudioReactConfig
Returns the “default value” for a type. Read more
impl Copy for AudioReactConfig
Auto Trait Implementations§
impl Freeze for AudioReactConfig
impl RefUnwindSafe for AudioReactConfig
impl Send for AudioReactConfig
impl Sync for AudioReactConfig
impl Unpin for AudioReactConfig
impl UnwindSafe for AudioReactConfig
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