pub enum InstrumentSource {
Synthesized(WaveformType),
Sample(SampleData),
}Variants§
Synthesized(WaveformType)
Sample(SampleData)
Trait Implementations§
Source§impl Clone for InstrumentSource
impl Clone for InstrumentSource
Source§fn clone(&self) -> InstrumentSource
fn clone(&self) -> InstrumentSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InstrumentSource
impl RefUnwindSafe for InstrumentSource
impl Send for InstrumentSource
impl Sync for InstrumentSource
impl Unpin for InstrumentSource
impl UnsafeUnpin for InstrumentSource
impl UnwindSafe for InstrumentSource
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