pub struct ControlChangeEvent {
pub channel: u8,
pub controller: u8,
pub value: u8,
}Fields§
§channel: u8§controller: u8§value: u8Implementations§
Trait Implementations§
Source§impl ChannelEvent for ControlChangeEvent
impl ChannelEvent for ControlChangeEvent
Source§impl Clone for ControlChangeEvent
impl Clone for ControlChangeEvent
Source§fn clone(&self) -> ControlChangeEvent
fn clone(&self) -> ControlChangeEvent
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 ControlChangeEvent
impl Debug for ControlChangeEvent
Source§impl MIDIEvent for ControlChangeEvent
impl MIDIEvent for ControlChangeEvent
Source§impl PartialEq for ControlChangeEvent
impl PartialEq for ControlChangeEvent
Source§impl PlaybackEvent for ControlChangeEvent
impl PlaybackEvent for ControlChangeEvent
Source§impl SerializeEvent for ControlChangeEvent
impl SerializeEvent for ControlChangeEvent
fn serialize_event<T: Write>( &self, buf: &mut T, ) -> Result<usize, MIDIWriteError>
impl StructuralPartialEq for ControlChangeEvent
Auto Trait Implementations§
impl Freeze for ControlChangeEvent
impl RefUnwindSafe for ControlChangeEvent
impl Send for ControlChangeEvent
impl Sync for ControlChangeEvent
impl Unpin for ControlChangeEvent
impl UnsafeUnpin for ControlChangeEvent
impl UnwindSafe for ControlChangeEvent
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