pub struct PolyPressure {
pub channel: MidiChannel,
pub pitch: MidiNote,
pub pressure: f32,
pub note_id: NoteId,
}Expand description
Polyphonic key pressure (aftertouch per note).
Fields§
§channel: MidiChannelMIDI channel (0-15).
pitch: MidiNoteNote number (0-127).
pressure: f32Pressure amount (0.0 to 1.0).
note_id: NoteIdUnique note ID for tracking this note instance.
Trait Implementations§
Source§impl Clone for PolyPressure
impl Clone for PolyPressure
Source§fn clone(&self) -> PolyPressure
fn clone(&self) -> PolyPressure
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 PolyPressure
impl Debug for PolyPressure
Source§impl PartialEq for PolyPressure
impl PartialEq for PolyPressure
impl Copy for PolyPressure
impl StructuralPartialEq for PolyPressure
Auto Trait Implementations§
impl Freeze for PolyPressure
impl RefUnwindSafe for PolyPressure
impl Send for PolyPressure
impl Sync for PolyPressure
impl Unpin for PolyPressure
impl UnwindSafe for PolyPressure
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