pub struct VideoTrack {
pub src: String,
pub kind: TrackKind,
pub label: Option<String>,
pub srclang: Option<String>,
pub is_default: bool,
}Expand description
Video track (subtitles, captions)
Fields§
§src: String§kind: TrackKind§label: Option<String>§srclang: Option<String>§is_default: boolTrait Implementations§
Source§impl Clone for VideoTrack
impl Clone for VideoTrack
Source§fn clone(&self) -> VideoTrack
fn clone(&self) -> VideoTrack
Returns a duplicate of the value. Read more
1.0.0 · 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 VideoTrack
impl Debug for VideoTrack
Source§impl<'de> Deserialize<'de> for VideoTrack
impl<'de> Deserialize<'de> for VideoTrack
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 VideoTrack
impl RefUnwindSafe for VideoTrack
impl Send for VideoTrack
impl Sync for VideoTrack
impl Unpin for VideoTrack
impl UnwindSafe for VideoTrack
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