Struct synfx_dsp::ChangeTrig
source · [−]pub struct ChangeTrig { /* private fields */ }
Expand description
Signal change detector that emits a trigger when the input signal changed.
This is commonly used for control signals. It has not much use for audio signals.
Implementations
sourceimpl ChangeTrig
impl ChangeTrig
sourcepub fn set_sample_rate(&mut self, srate: f32)
pub fn set_sample_rate(&mut self, srate: f32)
Set the sample rate for the trigger signal generator
Trait Implementations
sourceimpl Clone for ChangeTrig
impl Clone for ChangeTrig
sourcefn clone(&self) -> ChangeTrig
fn clone(&self) -> ChangeTrig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ChangeTrig
impl Debug for ChangeTrig
sourceimpl Default for ChangeTrig
impl Default for ChangeTrig
impl Copy for ChangeTrig
Auto Trait Implementations
impl RefUnwindSafe for ChangeTrig
impl Send for ChangeTrig
impl Sync for ChangeTrig
impl Unpin for ChangeTrig
impl UnwindSafe for ChangeTrig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more