Struct glicol_synth::signal::ConstSig
source · pub struct ConstSig { /* private fields */ }
Implementations§
source§impl ConstSig
impl ConstSig
pub fn new(val: f32) -> Self
pub fn events(self, events: Vec<(f32, f32)>) -> Self
pub fn pattern(self, pattern: Vec<(f32, f32)>) -> Self
pub fn span(self, span: f32) -> Self
pub fn bpm(self, bpm: 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 ConstSig
impl RefUnwindSafe for ConstSig
impl Send for ConstSig
impl Sync for ConstSig
impl Unpin for ConstSig
impl UnwindSafe for ConstSig
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