pub struct PitchRoot {
pub name: NoteLetter,
pub accidental: Accidental,
}Expand description
A pitch root (for scales/directives) — uppercase, with optional accidental.
Fields§
§name: NoteLetter§accidental: AccidentalTrait Implementations§
impl Copy for PitchRoot
impl Eq for PitchRoot
impl StructuralPartialEq for PitchRoot
Auto Trait Implementations§
impl Freeze for PitchRoot
impl RefUnwindSafe for PitchRoot
impl Send for PitchRoot
impl Sync for PitchRoot
impl Unpin for PitchRoot
impl UnsafeUnpin for PitchRoot
impl UnwindSafe for PitchRoot
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