pub struct SmoothF64<const MAX_BLOCKSIZE: usize> { /* private fields */ }Implementations§
Source§impl<const MAX_BLOCKSIZE: usize> SmoothF64<MAX_BLOCKSIZE>
impl<const MAX_BLOCKSIZE: usize> SmoothF64<MAX_BLOCKSIZE>
pub fn new(input: f64) -> Self
pub fn reset(&mut self, val: f64)
pub fn set(&mut self, val: f64)
pub fn dest(&self) -> f64
pub fn output(&self) -> SmoothOutputF64<'_, MAX_BLOCKSIZE>
pub fn current_value(&self) -> (f64, SmoothStatus)
pub fn update_status_with_epsilon(&mut self, epsilon: f64) -> SmoothStatus
pub fn process(&mut self, frames: usize)
pub fn is_active(&self) -> bool
Source§impl<const MAX_BLOCKSIZE: usize> SmoothF64<MAX_BLOCKSIZE>
impl<const MAX_BLOCKSIZE: usize> SmoothF64<MAX_BLOCKSIZE>
pub fn set_speed(&mut self, sample_rate: SampleRate, seconds: Seconds)
pub fn update_status(&mut self) -> SmoothStatus
Trait Implementations§
Auto Trait Implementations§
impl<const MAX_BLOCKSIZE: usize> Freeze for SmoothF64<MAX_BLOCKSIZE>
impl<const MAX_BLOCKSIZE: usize> RefUnwindSafe for SmoothF64<MAX_BLOCKSIZE>
impl<const MAX_BLOCKSIZE: usize> Send for SmoothF64<MAX_BLOCKSIZE>
impl<const MAX_BLOCKSIZE: usize> Sync for SmoothF64<MAX_BLOCKSIZE>
impl<const MAX_BLOCKSIZE: usize> Unpin for SmoothF64<MAX_BLOCKSIZE>
impl<const MAX_BLOCKSIZE: usize> UnwindSafe for SmoothF64<MAX_BLOCKSIZE>
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