Struct tune::mts::SingleNoteTuningChange
source · pub struct SingleNoteTuningChange {
pub key: PianoKey,
pub target_pitch: Pitch,
}
Fields§
§key: PianoKey
The key to tune.
target_pitch: Pitch
The Pitch
that the given key should sound in.
Trait Implementations§
source§impl Clone for SingleNoteTuningChange
impl Clone for SingleNoteTuningChange
source§fn clone(&self) -> SingleNoteTuningChange
fn clone(&self) -> SingleNoteTuningChange
Returns a copy 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 SingleNoteTuningChange
impl Debug for SingleNoteTuningChange
source§impl PartialEq for SingleNoteTuningChange
impl PartialEq for SingleNoteTuningChange
source§fn eq(&self, other: &SingleNoteTuningChange) -> bool
fn eq(&self, other: &SingleNoteTuningChange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SingleNoteTuningChange
impl StructuralPartialEq for SingleNoteTuningChange
Auto Trait Implementations§
impl RefUnwindSafe for SingleNoteTuningChange
impl Send for SingleNoteTuningChange
impl Sync for SingleNoteTuningChange
impl Unpin for SingleNoteTuningChange
impl UnwindSafe for SingleNoteTuningChange
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