pub struct SessionTrack {
pub name: String,
pub instrument_type: String,
pub synth_params: Vec<f32>,
pub discrete: Vec<SessionSelector>,
pub muted: bool,
pub soloed: bool,
pub armed: bool,
pub volume: f32,
pub color_index: usize,
pub clips: Vec<SessionClip>,
pub sequencer: Option<SessionSequencer>,
}Fields§
§name: String§instrument_type: String§synth_params: Vec<f32>§discrete: Vec<SessionSelector>Where every selector on this panel was pointing, by position rather than by knob fraction. Absent in version 1 files.
muted: bool§soloed: bool§armed: bool§volume: f32§color_index: usize§clips: Vec<SessionClip>§sequencer: Option<SessionSequencer>The step sequencer on this track, when it has one.
Absent — not null — on every track that is not one, so a session with
no sequencer in it is byte for byte the file it was before sequencers
existed. That is what session_digest is run against.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SessionTrack
impl<'de> Deserialize<'de> for SessionTrack
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 SessionTrack
impl RefUnwindSafe for SessionTrack
impl Send for SessionTrack
impl Sync for SessionTrack
impl Unpin for SessionTrack
impl UnsafeUnpin for SessionTrack
impl UnwindSafe for SessionTrack
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