pub struct ChannelPressureCell {
pub time: Time,
pub channel: Channel,
pub pressure: U7,
}Expand description
A MIDI channel-pressure (aftertouch) cell.
Fields§
§time: TimeTime of the pressure event.
channel: ChannelMIDI channel affected.
pressure: U7Pressure amount applied to the whole channel.
Trait Implementations§
Source§impl Clone for ChannelPressureCell
impl Clone for ChannelPressureCell
Source§fn clone(&self) -> ChannelPressureCell
fn clone(&self) -> ChannelPressureCell
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChannelPressureCell
impl Debug for ChannelPressureCell
impl Eq for ChannelPressureCell
Source§impl PartialEq for ChannelPressureCell
impl PartialEq for ChannelPressureCell
impl StructuralPartialEq for ChannelPressureCell
Auto Trait Implementations§
impl Freeze for ChannelPressureCell
impl RefUnwindSafe for ChannelPressureCell
impl Send for ChannelPressureCell
impl Sync for ChannelPressureCell
impl Unpin for ChannelPressureCell
impl UnsafeUnpin for ChannelPressureCell
impl UnwindSafe for ChannelPressureCell
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