Enum synth_utils::adsr::Input
source · pub enum Input {
Attack(TimePeriod),
Decay(TimePeriod),
Sustain(SustainLevel),
Release(TimePeriod),
}Expand description
ADSR input types are represented here
A, D, and S are represented as positive-only time periods, S is represented as a number in [0.0, 1.0]
Variants§
Auto Trait Implementations§
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnwindSafe for Input
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