Struct glicol_synth::envelope::EnvPerc
source · pub struct EnvPerc { /* private fields */ }
Implementations§
source§impl EnvPerc
impl EnvPerc
pub fn new() -> Self
pub fn attack(self, attack: f32) -> Self
pub fn decay(self, decay: f32) -> Self
pub fn scale(self, scale: f32) -> Self
pub fn sr(self, sr: usize) -> Self
pub fn to_boxed_nodedata<const N: usize>( self, channels: usize ) -> NodeData<BoxedNodeSend<N>, N>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnvPerc
impl RefUnwindSafe for EnvPerc
impl Send for EnvPerc
impl Sync for EnvPerc
impl Unpin for EnvPerc
impl UnwindSafe for EnvPerc
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