pub struct Smoother { /* private fields */ }Expand description
Per-parameter smoother. All methods take &self for interior mutability,
enabling use through Arc<Params>. Thread safety relies on the host
guarantee that process() and reset() never run concurrently.
Implementations§
Source§impl Smoother
impl Smoother
pub fn new(style: SmoothingStyle) -> Self
pub fn set_sample_rate(&self, sr: f64)
Auto Trait Implementations§
impl !Freeze for Smoother
impl RefUnwindSafe for Smoother
impl Send for Smoother
impl Sync for Smoother
impl Unpin for Smoother
impl UnsafeUnpin for Smoother
impl UnwindSafe for Smoother
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