pub struct Drum {
pub decay: u8,
pub pan: u8,
pub env: u16,
pub tuned: Tuned,
}Expand description
A drum.
Fields§
§decay: u8Release rate index.
pan: u8Fixed pan.
env: u16Envelope start or NONE16.
tuned: TunedIts sample.
Trait Implementations§
impl Copy for Drum
impl Eq for Drum
impl StructuralPartialEq for Drum
Auto Trait Implementations§
impl Freeze for Drum
impl RefUnwindSafe for Drum
impl Send for Drum
impl Sync for Drum
impl Unpin for Drum
impl UnsafeUnpin for Drum
impl UnwindSafe for Drum
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)