pub struct MusicalChange {
pub kind: MusicalChangeKind,
pub reference: Option<NoteAddr>,
pub current: Option<NoteAddr>,
pub changed_fields: Vec<String>,
pub domains: Vec<String>,
pub reference_onset_beats: Option<f64>,
pub current_onset_beats: Option<f64>,
}Fields§
§kind: MusicalChangeKind§reference: Option<NoteAddr>§current: Option<NoteAddr>§changed_fields: Vec<String>Stable field names. onset_beats is a derived rhythmic position.
domains: Vec<String>timing, pitch, and/or notation for modified notes.
reference_onset_beats: Option<f64>§current_onset_beats: Option<f64>Trait Implementations§
Source§impl Clone for MusicalChange
impl Clone for MusicalChange
Source§impl Debug for MusicalChange
impl Debug for MusicalChange
Source§impl<'de> Deserialize<'de> for MusicalChange
impl<'de> Deserialize<'de> for MusicalChange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MusicalChange
impl RefUnwindSafe for MusicalChange
impl Send for MusicalChange
impl Sync for MusicalChange
impl Unpin for MusicalChange
impl UnsafeUnpin for MusicalChange
impl UnwindSafe for MusicalChange
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