pub struct RenderScoreReport {
pub smf: SmfFile,
pub tones: Vec<ScheduledTone>,
pub samples: Vec<f32>,
pub diagnostics: Vec<Diagnostic>,
}Expand description
Result of rendering a score: the lowered MIDI, scheduled tones, PCM samples, and any diagnostics collected along the way.
Fields§
§smf: SmfFileMIDI file the score lowered to.
tones: Vec<ScheduledTone>Tones scheduled from the MIDI events.
samples: Vec<f32>Rendered PCM audio samples.
diagnostics: Vec<Diagnostic>Diagnostics gathered during rendering.
Trait Implementations§
Source§impl Clone for RenderScoreReport
impl Clone for RenderScoreReport
Source§fn clone(&self) -> RenderScoreReport
fn clone(&self) -> RenderScoreReport
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 RenderScoreReport
impl Debug for RenderScoreReport
Source§impl PartialEq for RenderScoreReport
impl PartialEq for RenderScoreReport
Source§fn eq(&self, other: &RenderScoreReport) -> bool
fn eq(&self, other: &RenderScoreReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RenderScoreReport
Auto Trait Implementations§
impl Freeze for RenderScoreReport
impl RefUnwindSafe for RenderScoreReport
impl Send for RenderScoreReport
impl Sync for RenderScoreReport
impl Unpin for RenderScoreReport
impl UnsafeUnpin for RenderScoreReport
impl UnwindSafe for RenderScoreReport
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