pub enum AtomKind {
Show 13 variants
PhraseBoundary,
OpenParens,
CloseParens,
Beat,
OptionalKeyOpen,
OptionalKeyClose,
Key,
AnalyticKey,
KeySignature,
RepeatStart,
RepeatStop,
NoChord,
Chord,
}Expand description
What one word of a measure is: music21’s subclasses of RTAtom.
Variants§
PhraseBoundary
||.
OpenParens
(.
CloseParens
).
Beat
b2.5: the beat what follows stands on.
OptionalKeyOpen
?(Bb:: an optional key’s start.
OptionalKeyClose
?)Bb:: an optional key’s end.
Key
g;:: a key and its signature.
AnalyticKey
g:: the key chords are read in.
KeySignature
KS-2: a key signature of so many sharps.
RepeatStart
||:.
RepeatStop
:||.
NoChord
NC, N.C. or nc.
Chord
Anything else: a roman numeral.
Trait Implementations§
impl Copy for AtomKind
impl Eq for AtomKind
impl StructuralPartialEq for AtomKind
Auto Trait Implementations§
impl Forget for AtomKind
impl Freeze for AtomKind
impl Move for AtomKind
impl RefUnwindSafe for AtomKind
impl Send for AtomKind
impl Sync for AtomKind
impl Unpin for AtomKind
impl UnsafeUnpin for AtomKind
impl UnwindSafe for AtomKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more