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
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more