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