pub struct Pressure(/* private fields */);Expand description
How hard a key or a channel is being pressed after the note started.
A seven-bit value: 0 to 127, which is what one MIDI data byte carries.
Implementations§
Source§impl Pressure
impl Pressure
Trait Implementations§
impl Copy for Pressure
impl Eq for Pressure
Source§impl Ord for Pressure
impl Ord for Pressure
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Pressure
impl PartialOrd for Pressure
impl StructuralPartialEq for Pressure
Auto Trait Implementations§
impl Freeze for Pressure
impl RefUnwindSafe for Pressure
impl Send for Pressure
impl Sync for Pressure
impl Unpin for Pressure
impl UnsafeUnpin for Pressure
impl UnwindSafe for Pressure
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