Trait LFOControlSourceExt

Source
pub trait LFOControlSourceExt:
    IsA<LFOControlSource>
    + Sealed
    + 'static {
Show 15 methods // Provided methods fn amplitude(&self) -> f64 { ... } fn set_amplitude(&self, amplitude: f64) { ... } fn frequency(&self) -> f64 { ... } fn set_frequency(&self, frequency: f64) { ... } fn offset(&self) -> f64 { ... } fn set_offset(&self, offset: f64) { ... } fn timeshift(&self) -> u64 { ... } fn set_timeshift(&self, timeshift: u64) { ... } fn waveform(&self) -> LFOWaveform { ... } fn set_waveform(&self, waveform: LFOWaveform) { ... } fn connect_amplitude_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_frequency_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_offset_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_timeshift_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_waveform_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn amplitude(&self) -> f64

Source

fn set_amplitude(&self, amplitude: f64)

Source

fn frequency(&self) -> f64

Source

fn set_frequency(&self, frequency: f64)

Source

fn offset(&self) -> f64

Source

fn set_offset(&self, offset: f64)

Source

fn timeshift(&self) -> u64

Source

fn set_timeshift(&self, timeshift: u64)

Source

fn waveform(&self) -> LFOWaveform

Source

fn set_waveform(&self, waveform: LFOWaveform)

Source

fn connect_amplitude_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_frequency_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_offset_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_timeshift_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_waveform_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

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.

Implementors§