pub struct FrameScore {
pub instruments: Vec<Instrument>,
pub tracks: Vec<Vec<FrameNote>>,
pub end_frame: u64,
}Expand description
Typed input for super::Synth::from_frames and its stereo constructor.
Up to eight tracks and 256 existing instruments per source. Use multiple
aligned sources for larger arrangements. Authored repeats are expanded to
absolute events; implicit RenderOptions loops are rejected on this path.
Fields§
§instruments: Vec<Instrument>§tracks: Vec<Vec<FrameNote>>§end_frame: u64Exclusive musical body end, including authored trailing rests. Gates must end by this frame. Active releases/drum tails drain after it.
Trait Implementations§
Source§impl Clone for FrameScore
impl Clone for FrameScore
Source§fn clone(&self) -> FrameScore
fn clone(&self) -> FrameScore
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 FrameScore
impl Debug for FrameScore
Source§impl Default for FrameScore
impl Default for FrameScore
Source§fn default() -> FrameScore
fn default() -> FrameScore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FrameScore
impl RefUnwindSafe for FrameScore
impl Send for FrameScore
impl Sync for FrameScore
impl Unpin for FrameScore
impl UnsafeUnpin for FrameScore
impl UnwindSafe for FrameScore
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