pub enum PitchSymbol {
Show 20 variants
Bs,
C,
Cs,
Db,
D,
Ds,
Eb,
E,
Es,
F,
Fs,
Gb,
G,
Gs,
Ab,
A,
As,
Bb,
B,
Cb,
}
Expand description
All possible pitches with accidentals.
Variants§
Trait Implementations§
Source§impl Clone for PitchSymbol
impl Clone for PitchSymbol
Source§fn clone(&self) -> PitchSymbol
fn clone(&self) -> PitchSymbol
Returns a duplicate 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 PitchSymbol
impl Debug for PitchSymbol
Source§impl Display for PitchSymbol
impl Display for PitchSymbol
Source§impl From<PitchSymbol> for Pitch
impl From<PitchSymbol> for Pitch
Source§fn from(symbol: PitchSymbol) -> Self
fn from(symbol: PitchSymbol) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PitchSymbol
impl PartialEq for PitchSymbol
impl Copy for PitchSymbol
impl Eq for PitchSymbol
impl StructuralPartialEq for PitchSymbol
Auto Trait Implementations§
impl Freeze for PitchSymbol
impl RefUnwindSafe for PitchSymbol
impl Send for PitchSymbol
impl Sync for PitchSymbol
impl Unpin for PitchSymbol
impl UnwindSafe for PitchSymbol
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