pub struct CommonTrackFields {
pub namespace: Option<String>,
pub packaging: Option<TrackPackaging>,
pub render_group: Option<u16>,
pub alt_group: Option<u16>,
}Fields§
§namespace: Option<String>§packaging: Option<TrackPackaging>§render_group: Option<u16>§alt_group: Option<u16>Implementations§
Source§impl CommonTrackFields
impl CommonTrackFields
Sourcepub fn from_tracks(tracks: &mut [Track]) -> Self
pub fn from_tracks(tracks: &mut [Track]) -> Self
Serialize function to conditionally include fields based on their commonality amoung tracks
Trait Implementations§
Source§impl Debug for CommonTrackFields
impl Debug for CommonTrackFields
Source§impl Default for CommonTrackFields
impl Default for CommonTrackFields
Source§fn default() -> CommonTrackFields
fn default() -> CommonTrackFields
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommonTrackFields
impl<'de> Deserialize<'de> for CommonTrackFields
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 CommonTrackFields
impl RefUnwindSafe for CommonTrackFields
impl Send for CommonTrackFields
impl Sync for CommonTrackFields
impl Unpin for CommonTrackFields
impl UnwindSafe for CommonTrackFields
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