Struct redact_composer_midi::DrumKit
source · 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 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