pub struct DrumKit(pub u8);Expand description
A semantic wrapper for program number indicating a drum instrument.
Tuple Fields§
§0: u8Implementations§
Trait Implementations§
Source§impl Element for DrumKit
impl Element for DrumKit
Source§fn wrapped_element(&self) -> Option<&(dyn Element + 'static)>
fn wrapped_element(&self) -> Option<&(dyn Element + 'static)>
None.
impl Copy for DrumKit
Auto Trait Implementations§
impl Freeze for DrumKit
impl RefUnwindSafe for DrumKit
impl Send for DrumKit
impl Sync for DrumKit
impl Unpin for DrumKit
impl UnwindSafe for DrumKit
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