Struct redact_composer_midi::convert::MidiConverter
source · pub struct MidiConverter;Expand description
Converter for Composition -> MIDI format.
Implementations§
source§impl MidiConverter
impl MidiConverter
sourcepub fn convert(composition: &Composition) -> Smf<'_>
pub fn convert(composition: &Composition) -> Smf<'_>
Converts Compositions into MIDI format using the midly crate.
Auto Trait Implementations§
impl RefUnwindSafe for MidiConverter
impl Send for MidiConverter
impl Sync for MidiConverter
impl Unpin for MidiConverter
impl UnwindSafe for MidiConverter
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