pub struct Note {
pub pitch: Pitch,
pub accidental: Accidental,
}Expand description
Represents a chord note.
§Note
pitch and accidental can be used to calculate the precise note or a frequency in Hz,
however would require additional input of octave.
Since octave is not a part of a note on a chord SIGNATURE, this property is therefore omitted.
Fields§
§pitch: PitchThe pitch of the note
accidental: AccidentalThe accidental of the note
Trait Implementations§
impl Eq for Note
impl StructuralPartialEq for Note
Auto Trait Implementations§
impl Freeze for Note
impl RefUnwindSafe for Note
impl Send for Note
impl Sync for Note
impl Unpin for Note
impl UnwindSafe for Note
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