pub struct ControlChangeEvent {
pub channel: u8,
pub controller: u8,
pub value: u8,
}
Fields§
§channel: u8
§controller: u8
§value: u8
Implementations§
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 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