pub struct SnapshotStream {
pub duration: Time,
pub voices: Vec<ScoreVoice>,
pub snapshots: Vec<MusicSnapshot>,
}Expand description
Event-boundary snapshot representation of a score.
Fields§
§duration: TimeExact total score span, including trailing silence.
voices: Vec<ScoreVoice>Voice identities, names, and individual spans.
snapshots: Vec<MusicSnapshot>Complete event-boundary snapshots in strictly ascending time order.
Trait Implementations§
Source§impl Clone for SnapshotStream
impl Clone for SnapshotStream
Source§fn clone(&self) -> SnapshotStream
fn clone(&self) -> SnapshotStream
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 SnapshotStream
impl Debug for SnapshotStream
impl Eq for SnapshotStream
Source§impl PartialEq for SnapshotStream
impl PartialEq for SnapshotStream
impl StructuralPartialEq for SnapshotStream
Auto Trait Implementations§
impl Freeze for SnapshotStream
impl RefUnwindSafe for SnapshotStream
impl Send for SnapshotStream
impl Sync for SnapshotStream
impl Unpin for SnapshotStream
impl UnsafeUnpin for SnapshotStream
impl UnwindSafe for SnapshotStream
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