pub struct MidiVelocity(/* private fields */);Implementations§
Trait Implementations§
Source§impl Clone for MidiVelocity
impl Clone for MidiVelocity
Source§fn clone(&self) -> MidiVelocity
fn clone(&self) -> MidiVelocity
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 MidiVelocity
impl Debug for MidiVelocity
Source§impl Display for MidiVelocity
impl Display for MidiVelocity
Source§impl FromStr for MidiVelocity
impl FromStr for MidiVelocity
Source§impl Hash for MidiVelocity
impl Hash for MidiVelocity
Source§impl Ord for MidiVelocity
impl Ord for MidiVelocity
Source§fn cmp(&self, other: &MidiVelocity) -> Ordering
fn cmp(&self, other: &MidiVelocity) -> Ordering
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 PartialEq for MidiVelocity
impl PartialEq for MidiVelocity
Source§fn eq(&self, other: &MidiVelocity) -> bool
fn eq(&self, other: &MidiVelocity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MidiVelocity
impl PartialOrd for MidiVelocity
Source§impl TryFrom<u8> for MidiVelocity
impl TryFrom<u8> for MidiVelocity
impl Copy for MidiVelocity
impl Eq for MidiVelocity
impl StructuralPartialEq for MidiVelocity
Auto Trait Implementations§
impl Freeze for MidiVelocity
impl RefUnwindSafe for MidiVelocity
impl Send for MidiVelocity
impl Sync for MidiVelocity
impl Unpin for MidiVelocity
impl UnsafeUnpin for MidiVelocity
impl UnwindSafe for MidiVelocity
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