pub struct ChannelPressure {
pub channel: MidiChannel,
pub pressure: f32,
}Expand description
Channel pressure (channel aftertouch).
Fields§
§channel: MidiChannelMIDI channel (0-15).
pressure: f32Pressure amount (0.0 to 1.0).
Trait Implementations§
Source§impl Clone for ChannelPressure
impl Clone for ChannelPressure
Source§fn clone(&self) -> ChannelPressure
fn clone(&self) -> ChannelPressure
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 ChannelPressure
impl Debug for ChannelPressure
Source§impl PartialEq for ChannelPressure
impl PartialEq for ChannelPressure
impl Copy for ChannelPressure
impl StructuralPartialEq for ChannelPressure
Auto Trait Implementations§
impl Freeze for ChannelPressure
impl RefUnwindSafe for ChannelPressure
impl Send for ChannelPressure
impl Sync for ChannelPressure
impl Unpin for ChannelPressure
impl UnwindSafe for ChannelPressure
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