pub struct AudioTrack {
pub index: usize,
pub stream: usize,
pub title: Option<String>,
pub language: Option<String>,
pub codec: String,
pub channels: u16,
pub rate: u32,
pub bitrate: Option<u32>,
pub default: bool,
}Fields§
§index: usize§stream: usize§title: Option<String>§language: Option<String>§codec: String§channels: u16§rate: u32§bitrate: Option<u32>§default: boolImplementations§
Trait Implementations§
Source§impl Clone for AudioTrack
impl Clone for AudioTrack
Source§fn clone(&self) -> AudioTrack
fn clone(&self) -> AudioTrack
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AudioTrack
impl Debug for AudioTrack
Source§impl PartialEq for AudioTrack
impl PartialEq for AudioTrack
Source§fn eq(&self, other: &AudioTrack) -> bool
fn eq(&self, other: &AudioTrack) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more