pub struct SerialSpineEntry {
pub event_id: SerialEventId,
pub ordinal: OrdinalRef,
pub note_index: usize,
pub onset: Time,
pub source_pitch: Pitch,
pub landed_pitch: Pitch,
pub modal_degree: Option<usize>,
pub modal_member: bool,
pub witness: MapWitness,
pub label: SerialSpineLabel,
}Expand description
One mapped sounding note in a serial-spine adaptation.
Fields§
§event_id: SerialEventIdStable source event identity.
ordinal: OrdinalRefStable ordinal source for this sounding note.
note_index: usizeStable ordinal occurrence inside the event’s note list.
onset: TimeExact onset retained from the source realization.
source_pitch: PitchSource pitch before adaptation.
landed_pitch: PitchLanded pitch after adaptation.
modal_degree: Option<usize>One-based modal degree, when the landed pitch belongs to the scale.
modal_member: boolWhether the landed pitch is a scale member.
witness: MapWitnessExplicit pitch-map witness for the landing step.
label: SerialSpineLabelIndependent spine label for this note.
Trait Implementations§
Source§impl Clone for SerialSpineEntry
impl Clone for SerialSpineEntry
Source§fn clone(&self) -> SerialSpineEntry
fn clone(&self) -> SerialSpineEntry
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 SerialSpineEntry
impl Debug for SerialSpineEntry
impl Eq for SerialSpineEntry
Source§impl PartialEq for SerialSpineEntry
impl PartialEq for SerialSpineEntry
impl StructuralPartialEq for SerialSpineEntry
Auto Trait Implementations§
impl Freeze for SerialSpineEntry
impl RefUnwindSafe for SerialSpineEntry
impl Send for SerialSpineEntry
impl Sync for SerialSpineEntry
impl Unpin for SerialSpineEntry
impl UnsafeUnpin for SerialSpineEntry
impl UnwindSafe for SerialSpineEntry
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