pub struct TrackMeta {
pub id: TrackId,
pub name: String,
pub wave: SeqWave,
pub notes: u32,
pub mute: bool,
pub solo: bool,
}Expand description
One track’s identity and role in a compiled program.
Fields§
§id: TrackIdThe stable identifier: declaration order at compile time, so an unchanged song recompiles to identical ids.
name: StringThe track name (also the rendered layer id).
wave: SeqWaveThe instrument voice.
notes: u32How many notes the track plays (direct notes plus placements).
mute: boolWhether the track is muted in the mix.
solo: boolWhether the track is a solo track (every non-solo track is muted).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TrackMeta
impl<'de> Deserialize<'de> for TrackMeta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TrackMeta
impl RefUnwindSafe for TrackMeta
impl Send for TrackMeta
impl Sync for TrackMeta
impl Unpin for TrackMeta
impl UnsafeUnpin for TrackMeta
impl UnwindSafe for TrackMeta
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