pub enum MusicChange {
NoteStarted(StaffNote),
NoteEnded {
at: Time,
voice_id: ObjectId,
note_id: ObjectId,
event_id: ObjectId,
},
}Expand description
One identity-bearing change in a score event stream.
Variants§
NoteStarted(StaffNote)
A note starts; the complete note payload makes the stream self-contained.
NoteEnded
A note ends at the given exact time.
Implementations§
Trait Implementations§
Source§impl Clone for MusicChange
impl Clone for MusicChange
Source§fn clone(&self) -> MusicChange
fn clone(&self) -> MusicChange
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 MusicChange
impl Debug for MusicChange
impl Eq for MusicChange
Source§impl PartialEq for MusicChange
impl PartialEq for MusicChange
impl StructuralPartialEq for MusicChange
Auto Trait Implementations§
impl Freeze for MusicChange
impl RefUnwindSafe for MusicChange
impl Send for MusicChange
impl Sync for MusicChange
impl Unpin for MusicChange
impl UnsafeUnpin for MusicChange
impl UnwindSafe for MusicChange
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