pub struct TrackConfig {
pub entry: SampleEntry,
pub timescale: u32,
pub language: String,
pub name: Option<String>,
pub matrix: [i32; 9],
pub edits: Vec<Edit>,
pub media_start: Option<i64>,
}Fields§
§entry: SampleEntry§timescale: u32§language: String§name: Option<String>§matrix: [i32; 9]§edits: Vec<Edit>§media_start: Option<i64>Implementations§
Source§impl TrackConfig
impl TrackConfig
pub fn new(entry: SampleEntry, timescale: u32) -> Self
Source§impl TrackConfig
impl TrackConfig
pub fn from_track(track: &Track) -> Result<Self>
Trait Implementations§
Source§impl Clone for TrackConfig
impl Clone for TrackConfig
Source§fn clone(&self) -> TrackConfig
fn clone(&self) -> TrackConfig
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 moreAuto Trait Implementations§
impl Freeze for TrackConfig
impl RefUnwindSafe for TrackConfig
impl Send for TrackConfig
impl Sync for TrackConfig
impl Unpin for TrackConfig
impl UnsafeUnpin for TrackConfig
impl UnwindSafe for TrackConfig
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