Struct mp4parse::TrackTimeScale
source · pub struct TrackTimeScale<T: Num>(pub T, pub usize);
Expand description
The track’s local (mdhd) timescale. Members are timescale units per second and the track id.
Tuple Fields§
§0: T
§1: usize
Trait Implementations§
source§impl<T: Clone + Num> Clone for TrackTimeScale<T>
impl<T: Clone + Num> Clone for TrackTimeScale<T>
source§fn clone(&self) -> TrackTimeScale<T>
fn clone(&self) -> TrackTimeScale<T>
Returns a copy 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<T: PartialEq + Num> PartialEq<TrackTimeScale<T>> for TrackTimeScale<T>
impl<T: PartialEq + Num> PartialEq<TrackTimeScale<T>> for TrackTimeScale<T>
source§fn eq(&self, other: &TrackTimeScale<T>) -> bool
fn eq(&self, other: &TrackTimeScale<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Copy + Num> Copy for TrackTimeScale<T>
impl<T: Num> StructuralPartialEq for TrackTimeScale<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for TrackTimeScale<T>where T: RefUnwindSafe,
impl<T> Send for TrackTimeScale<T>where T: Send,
impl<T> Sync for TrackTimeScale<T>where T: Sync,
impl<T> Unpin for TrackTimeScale<T>where T: Unpin,
impl<T> UnwindSafe for TrackTimeScale<T>where T: UnwindSafe,
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