pub struct AdsrEnvelope { /* private fields */ }Implementations§
Source§impl AdsrEnvelope
impl AdsrEnvelope
Trait Implementations§
Source§impl Default for AdsrEnvelope
impl Default for AdsrEnvelope
Source§impl DspNode for AdsrEnvelope
impl DspNode for AdsrEnvelope
Source§fn process(
&mut self,
inputs: &[Option<&[f32; 64]>; 8],
output: &mut [f32; 64],
params: &mut ParamBlock,
sample_rate: f32,
)
fn process( &mut self, inputs: &[Option<&[f32; 64]>; 8], output: &mut [f32; 64], params: &mut ParamBlock, sample_rate: f32, )
Process one buffer of audio. Read more
Source§fn capture_state(&self) -> StateBlob
fn capture_state(&self) -> StateBlob
Capture internal state for continuity transfer.
Source§fn restore_state(&mut self, state: StateBlob)
fn restore_state(&mut self, state: StateBlob)
Restore internal state after a graph mutation.
Auto Trait Implementations§
impl Freeze for AdsrEnvelope
impl RefUnwindSafe for AdsrEnvelope
impl Send for AdsrEnvelope
impl Sync for AdsrEnvelope
impl Unpin for AdsrEnvelope
impl UnsafeUnpin for AdsrEnvelope
impl UnwindSafe for AdsrEnvelope
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more