pub struct Wavetable {
pub values: Vec<u8>,
}Expand description
A looping 4-bit waveform, read with sample-and-hold. 2..=256 entries, 0..=15. Values map linearly from -1 to +1; tables and PCM are intentionally not anti-aliased.
Fields§
§values: Vec<u8>Implementations§
Trait Implementations§
impl Eq for Wavetable
impl StructuralPartialEq for Wavetable
Auto Trait Implementations§
impl Freeze for Wavetable
impl RefUnwindSafe for Wavetable
impl Send for Wavetable
impl Sync for Wavetable
impl Unpin for Wavetable
impl UnsafeUnpin for Wavetable
impl UnwindSafe for Wavetable
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