pub enum ChipSource {
Waveform,
Wavetable(Wavetable),
Sample(ChipSample),
Noise {
period: u8,
},
}Variants§
Waveform
Wavetable(Wavetable)
Sample(ChipSample)
Noise
Fixed noise-register clock, bypassing the legacy note-frequency*93 clock.
Trait Implementations§
Source§impl Clone for ChipSource
impl Clone for ChipSource
Source§fn clone(&self) -> ChipSource
fn clone(&self) -> ChipSource
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 moreSource§impl Debug for ChipSource
impl Debug for ChipSource
Source§impl Default for ChipSource
impl Default for ChipSource
Source§fn default() -> ChipSource
fn default() -> ChipSource
Returns the “default value” for a type. Read more
impl Eq for ChipSource
Source§impl Hash for ChipSource
impl Hash for ChipSource
Source§impl PartialEq for ChipSource
impl PartialEq for ChipSource
impl StructuralPartialEq for ChipSource
Auto Trait Implementations§
impl Freeze for ChipSource
impl RefUnwindSafe for ChipSource
impl Send for ChipSource
impl Sync for ChipSource
impl Unpin for ChipSource
impl UnsafeUnpin for ChipSource
impl UnwindSafe for ChipSource
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