pub struct InstrumentMapping {
pub instrument_tracking_commands: Vec<u8>,
pub mapping: [u8; 128],
pub to_move: Vec<u8>,
}
Expand description
For every instrument, it’s destination instrument
Fields§
§instrument_tracking_commands: Vec<u8>
List all the command ID referencing an instrument as value. Depend on the song version number.
mapping: [u8; 128]
Mapping from the “from” song instrument index to the “to” song instrument index
to_move: Vec<u8>
Instruments to be moved during the remapping index in the “from” song
Implementations§
Auto Trait Implementations§
impl Freeze for InstrumentMapping
impl RefUnwindSafe for InstrumentMapping
impl Send for InstrumentMapping
impl Sync for InstrumentMapping
impl Unpin for InstrumentMapping
impl UnwindSafe for InstrumentMapping
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