pub struct KeySignatureEvent {
pub sf: u8,
pub mi: u8,
}Fields§
§sf: u8§mi: u8Implementations§
Trait Implementations§
Source§impl Clone for KeySignatureEvent
impl Clone for KeySignatureEvent
Source§fn clone(&self) -> KeySignatureEvent
fn clone(&self) -> KeySignatureEvent
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 KeySignatureEvent
impl Debug for KeySignatureEvent
Source§impl MIDIEvent for KeySignatureEvent
impl MIDIEvent for KeySignatureEvent
Source§impl PartialEq for KeySignatureEvent
impl PartialEq for KeySignatureEvent
Source§impl SerializeEvent for KeySignatureEvent
impl SerializeEvent for KeySignatureEvent
fn serialize_event<T: Write>( &self, buf: &mut T, ) -> Result<usize, MIDIWriteError>
impl StructuralPartialEq for KeySignatureEvent
Auto Trait Implementations§
impl Freeze for KeySignatureEvent
impl RefUnwindSafe for KeySignatureEvent
impl Send for KeySignatureEvent
impl Sync for KeySignatureEvent
impl Unpin for KeySignatureEvent
impl UnsafeUnpin for KeySignatureEvent
impl UnwindSafe for KeySignatureEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more