pub struct ToneIdentifier(pub u8);
Expand description
Used to dispatch polyphonic event to the correct voice, based on the tone of the event.
Tuple Fields§
§0: u8
Trait Implementations§
Source§impl Clone for ToneIdentifier
impl Clone for ToneIdentifier
Source§fn clone(&self) -> ToneIdentifier
fn clone(&self) -> ToneIdentifier
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ToneIdentifier
impl Debug for ToneIdentifier
Source§impl PartialEq for ToneIdentifier
impl PartialEq for ToneIdentifier
impl Copy for ToneIdentifier
impl Eq for ToneIdentifier
impl StructuralPartialEq for ToneIdentifier
Auto Trait Implementations§
impl Freeze for ToneIdentifier
impl RefUnwindSafe for ToneIdentifier
impl Send for ToneIdentifier
impl Sync for ToneIdentifier
impl Unpin for ToneIdentifier
impl UnwindSafe for ToneIdentifier
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