pub enum FxValue {
Plain(Ramp<f64>),
Hertz(Ramp<f64>),
}Expand description
An argument’s value, which may travel across the line’s ramp span.
The distinction is syntactic on purpose. Whether a bare number is a literal parameter value or a period in cycles depends on the parameter it lands on, which only the consumer knows. The legal interval is likewise the filter’s own business, so nothing here range-checks the values.
Variants§
Plain(Ramp<f64>)
A bare number: 0.6, 2..8.
Hertz(Ramp<f64>)
A number with an hz suffix, so always an absolute frequency.
Implementations§
Trait Implementations§
impl StructuralPartialEq for FxValue
Auto Trait Implementations§
impl Freeze for FxValue
impl RefUnwindSafe for FxValue
impl Send for FxValue
impl Sync for FxValue
impl Unpin for FxValue
impl UnsafeUnpin for FxValue
impl UnwindSafe for FxValue
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