pub enum NoteName {
Show 35 variants
Abb,
Ab,
A,
As,
Ass,
Bbb,
Bb,
B,
Bs,
Bss,
Cbb,
Cb,
C,
Cs,
Css,
Dbb,
Db,
D,
Ds,
Dss,
Ebb,
Eb,
E,
Es,
Ess,
Fbb,
Fb,
F,
Fs,
Fss,
Gbb,
Gb,
G,
Gs,
Gss,
}
Expand description
Musical note name.
Variants§
Abb
Ab
A
As
Ass
Bbb
Bb
B
Bs
Bss
Cbb
Cb
C
Cs
Css
Dbb
Db
D
Ds
Dss
Ebb
Eb
E
Es
Ess
Fbb
Fb
F
Fs
Fss
Gbb
Gb
G
Gs
Gss
Implementations§
Trait Implementations§
source§impl From<NoteName> for PitchClass
impl From<NoteName> for PitchClass
source§impl PartialEq<NoteName> for PitchClass
impl PartialEq<NoteName> for PitchClass
source§impl PartialEq<PitchClass> for NoteName
impl PartialEq<PitchClass> for NoteName
source§fn eq(&self, pitch_class: &PitchClass) -> bool
fn eq(&self, pitch_class: &PitchClass) -> bool
use redact_composer_musical::{NoteName, PitchClass};
assert!(NoteName::C.eq(&PitchClass(0)));
source§impl PartialEq for NoteName
impl PartialEq for NoteName
impl Copy for NoteName
impl Eq for NoteName
impl StructuralPartialEq for NoteName
Auto Trait Implementations§
impl Freeze for NoteName
impl RefUnwindSafe for NoteName
impl Send for NoteName
impl Sync for NoteName
impl Unpin for NoteName
impl UnwindSafe for NoteName
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