pub struct DistortionSettings {
pub gain: f32,
pub threshold: f32,
}Expand description
Serialized configuration for distortion parameters.
Fields§
§gain: f32§threshold: f32Implementations§
Trait Implementations§
Source§impl Clone for DistortionSettings
impl Clone for DistortionSettings
Source§fn clone(&self) -> DistortionSettings
fn clone(&self) -> DistortionSettings
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 DistortionSettings
impl Debug for DistortionSettings
Source§impl Default for DistortionSettings
impl Default for DistortionSettings
Source§impl<'de> Deserialize<'de> for DistortionSettingswhere
DistortionSettings: Default,
impl<'de> Deserialize<'de> for DistortionSettingswhere
DistortionSettings: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DistortionSettings
impl RefUnwindSafe for DistortionSettings
impl Send for DistortionSettings
impl Sync for DistortionSettings
impl Unpin for DistortionSettings
impl UnwindSafe for DistortionSettings
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