pub struct Tuned {
pub sample: u16,
pub tuning_q16: u32,
}Expand description
A sample and its tuning, as an instrument or drum names it.
Fields§
§sample: u16Index into the bank’s sample table, or NONE16.
tuning_q16: u32Pitch multiplier, Q16.
Trait Implementations§
impl Copy for Tuned
impl Eq for Tuned
impl StructuralPartialEq for Tuned
Auto Trait Implementations§
impl Freeze for Tuned
impl RefUnwindSafe for Tuned
impl Send for Tuned
impl Sync for Tuned
impl Unpin for Tuned
impl UnsafeUnpin for Tuned
impl UnwindSafe for Tuned
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)