pub struct FloatParam {
pub info: ParamInfo,
pub smoother: Smoother,
/* private fields */
}Expand description
A continuous floating-point parameter.
Fields§
§info: ParamInfo§smoother: SmootherImplementations§
Source§impl FloatParam
impl FloatParam
pub fn new(info: ParamInfo, smoothing: SmoothingStyle) -> Self
Sourcepub fn smoothed_next(&self) -> f32
pub fn smoothed_next(&self) -> f32
Next smoothed value. Call once per sample in process().
Auto Trait Implementations§
impl !Freeze for FloatParam
impl RefUnwindSafe for FloatParam
impl Send for FloatParam
impl Sync for FloatParam
impl Unpin for FloatParam
impl UnsafeUnpin for FloatParam
impl UnwindSafe for FloatParam
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