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§
Source§impl 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§
Source§impl Clone for ChangeTrig
impl Clone for ChangeTrig
Source§fn clone(&self) -> ChangeTrig
fn clone(&self) -> ChangeTrig
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 ChangeTrig
impl Debug for ChangeTrig
Source§impl Default for ChangeTrig
impl Default for ChangeTrig
impl Copy for ChangeTrig
Auto Trait Implementations§
impl Freeze for ChangeTrig
impl RefUnwindSafe for ChangeTrig
impl Send for ChangeTrig
impl Sync for ChangeTrig
impl Unpin for ChangeTrig
impl UnwindSafe for ChangeTrig
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