pub struct AudioTrack {
pub language: Option<String>,
pub title: Option<String>,
pub channels: Option<u32>,
pub default: bool,
pub role: AudioRole,
}Fields§
§language: Option<String>An ISO 639-2 code such as eng, when the file says.
title: Option<String>§channels: Option<u32>§default: boolThe file marks it as the one to play by default.
role: AudioRoleWhat the track is for, whatever its title says.
Trait Implementations§
Source§impl Clone for AudioTrack
impl Clone for AudioTrack
Source§impl Debug for AudioTrack
impl Debug for AudioTrack
Source§impl<'de> Deserialize<'de> for AudioTrack
impl<'de> Deserialize<'de> for AudioTrack
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
impl Eq for AudioTrack
Source§impl PartialEq for AudioTrack
impl PartialEq for AudioTrack
Source§impl Serialize for AudioTrack
impl Serialize for AudioTrack
impl StructuralPartialEq for AudioTrack
Auto Trait Implementations§
impl Freeze for AudioTrack
impl RefUnwindSafe for AudioTrack
impl Send for AudioTrack
impl Sync for AudioTrack
impl Unpin for AudioTrack
impl UnsafeUnpin for AudioTrack
impl UnwindSafe for AudioTrack
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