pub struct ConvolutionReverbSettings {
pub impulse_response: Option<String>,
pub impulse_response_attachment: Option<String>,
pub impulse_response_path: Option<String>,
pub impulse_response_tail_db: Option<f32>,
pub impulse_response_tail: Option<f32>,
}Expand description
Serialized configuration for convolution reverb impulse response selection.
Fields§
§impulse_response: Option<String>§impulse_response_attachment: Option<String>§impulse_response_path: Option<String>§impulse_response_tail_db: Option<f32>§impulse_response_tail: Option<f32>Implementations§
Source§impl ConvolutionReverbSettings
impl ConvolutionReverbSettings
Sourcepub fn tail_db_or_default(&self) -> f32
pub fn tail_db_or_default(&self) -> f32
Resolve a tail trim value, falling back to the default.
Trait Implementations§
Source§impl Clone for ConvolutionReverbSettings
impl Clone for ConvolutionReverbSettings
Source§fn clone(&self) -> ConvolutionReverbSettings
fn clone(&self) -> ConvolutionReverbSettings
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 ConvolutionReverbSettings
impl Debug for ConvolutionReverbSettings
Source§impl Default for ConvolutionReverbSettings
impl Default for ConvolutionReverbSettings
Source§impl<'de> Deserialize<'de> for ConvolutionReverbSettingswhere
ConvolutionReverbSettings: Default,
impl<'de> Deserialize<'de> for ConvolutionReverbSettingswhere
ConvolutionReverbSettings: 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 ConvolutionReverbSettings
impl RefUnwindSafe for ConvolutionReverbSettings
impl Send for ConvolutionReverbSettings
impl Sync for ConvolutionReverbSettings
impl Unpin for ConvolutionReverbSettings
impl UnwindSafe for ConvolutionReverbSettings
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