pub trait ModulationProperty {
// Required methods
fn sampling_config(&self) -> SamplingConfig;
fn loop_behavior(&self) -> LoopBehavior;
}Expand description
A trait to get the modulation property. (This trait is automatically implemented by the Modulation derive macro.)
Required Methods§
Sourcefn sampling_config(&self) -> SamplingConfig
fn sampling_config(&self) -> SamplingConfig
Get the sampling configuration.
Sourcefn loop_behavior(&self) -> LoopBehavior
fn loop_behavior(&self) -> LoopBehavior
Get the loop behavior.