pub struct OfflineRenderOptions<'a, Processor: StandaloneProcessor> {
pub app: Processor,
pub handle: Option<&'a Handle>,
pub input_path: &'a str,
pub output_path: &'a str,
pub midi_input_file: Option<MIDIFile<String, Vec<u8>>>,
}
Expand description
Offline rendering options
Fields
app: Processor
The audio/MIDI processor
handle: Option<&'a Handle>
GC handle, see https://crates.io/crates/audio-garbage-collector
input_path: &'a str
Input audio file path
output_path: &'a str
Output audio file path
midi_input_file: Option<MIDIFile<String, Vec<u8>>>
MIDI input file path
Auto Trait Implementations
impl<'a, Processor> RefUnwindSafe for OfflineRenderOptions<'a, Processor> where
Processor: RefUnwindSafe,
impl<'a, Processor> Send for OfflineRenderOptions<'a, Processor>
impl<'a, Processor> Sync for OfflineRenderOptions<'a, Processor> where
Processor: Sync,
impl<'a, Processor> Unpin for OfflineRenderOptions<'a, Processor> where
Processor: Unpin,
impl<'a, Processor> UnwindSafe for OfflineRenderOptions<'a, Processor> where
Processor: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more