pub struct InstrumentChangeContents {
pub instrument_sound: Option<InstrumentSound>,
pub solo: Option<Solo>,
pub ensemble: Option<Ensemble>,
pub virtual_instrument: Option<VirtualInstrument>,
}Expand description
Contents of the InstrumentChange element.
Fields§
§instrument_sound: Option<InstrumentSound>The InstrumentSound element specifies the virtual instrument sound to use for a given ScoreInstrument.
solo: Option<Solo>The Solo element specifies the solo virtual instrument sound to use for a given ScoreInstrument.
ensemble: Option<Ensemble>The Ensemble element specifies the ensemble virtual instrument sound to use for a given ScoreInstrument.
virtual_instrument: Option<VirtualInstrument>The VirtualInstrument element specifies the virtual instrument to use for a given ScoreInstrument.
Trait Implementations§
Source§impl ContentDeserializer for InstrumentChangeContents
impl ContentDeserializer for InstrumentChangeContents
fn deserialize( elements: &[XmlElement], ) -> Result<InstrumentChangeContents, String>
Source§impl ContentSerializer for InstrumentChangeContents
impl ContentSerializer for InstrumentChangeContents
fn serialize(element: &Self) -> Vec<XmlElement>
Source§impl Debug for InstrumentChangeContents
impl Debug for InstrumentChangeContents
Source§impl Default for InstrumentChangeContents
impl Default for InstrumentChangeContents
Source§fn default() -> InstrumentChangeContents
fn default() -> InstrumentChangeContents
Returns the “default value” for a type. Read more
Source§impl PartialEq for InstrumentChangeContents
impl PartialEq for InstrumentChangeContents
impl Eq for InstrumentChangeContents
impl StructuralPartialEq for InstrumentChangeContents
Auto Trait Implementations§
impl Freeze for InstrumentChangeContents
impl RefUnwindSafe for InstrumentChangeContents
impl Send for InstrumentChangeContents
impl Sync for InstrumentChangeContents
impl Unpin for InstrumentChangeContents
impl UnwindSafe for InstrumentChangeContents
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