pub enum SerialSpineLabel {
Degree(usize),
LandedPitch(Pitch),
ChromaticInflection {
degree: usize,
semitone_delta: i16,
},
OrdinalToken {
ordinal: OrdinalRef,
note_index: usize,
},
}Expand description
One reported spine label, independent from the sounding pitch.
Variants§
Degree(usize)
One-based modal scale degree.
LandedPitch(Pitch)
Landed pitch identity.
ChromaticInflection
Degree plus chromatic displacement from the source pitch class.
Fields
OrdinalToken
Non-pitch serial token that still follows the landed pitch map.
Fields
§
ordinal: OrdinalRefStable ordinal source.
Trait Implementations§
Source§impl Clone for SerialSpineLabel
impl Clone for SerialSpineLabel
Source§fn clone(&self) -> SerialSpineLabel
fn clone(&self) -> SerialSpineLabel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SerialSpineLabel
impl Debug for SerialSpineLabel
impl Eq for SerialSpineLabel
Source§impl PartialEq for SerialSpineLabel
impl PartialEq for SerialSpineLabel
impl StructuralPartialEq for SerialSpineLabel
Auto Trait Implementations§
impl Freeze for SerialSpineLabel
impl RefUnwindSafe for SerialSpineLabel
impl Send for SerialSpineLabel
impl Sync for SerialSpineLabel
impl Unpin for SerialSpineLabel
impl UnsafeUnpin for SerialSpineLabel
impl UnwindSafe for SerialSpineLabel
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