pub trait AudioTestSourceExt: IsA<AudioTestSource> + 'static {
// Provided methods
fn freq(&self) -> f64 { ... }
fn volume(&self) -> f64 { ... }
fn set_freq(&self, freq: f64) { ... }
fn set_volume(&self, volume: f64) { ... }
}
Expand description
Provided Methods§
Sourcefn set_freq(&self, freq: f64)
fn set_freq(&self, freq: f64)
Lets you set the frequency applied on the track element
§freq
The frequency you want to apply on self
Sourcefn set_volume(&self, volume: f64)
fn set_volume(&self, volume: f64)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.