pub struct TrackScaledTime<T: Num>(pub T, pub usize);
Expand description
A time to be scaled by the track’s local (mdhd) timescale. Members are time in scale units and the track id.
Tuple Fields§
§0: T
§1: usize
Trait Implementations§
Source§impl<T> Add for TrackScaledTime<T>where
T: Num,
impl<T> Add for TrackScaledTime<T>where
T: Num,
Source§type Output = TrackScaledTime<T>
type Output = TrackScaledTime<T>
The resulting type after applying the
+
operator.Source§fn add(self, other: TrackScaledTime<T>) -> TrackScaledTime<T>
fn add(self, other: TrackScaledTime<T>) -> TrackScaledTime<T>
Performs the
+
operation. Read moreSource§impl<T: Clone + Num> Clone for TrackScaledTime<T>
impl<T: Clone + Num> Clone for TrackScaledTime<T>
Source§fn clone(&self) -> TrackScaledTime<T>
fn clone(&self) -> TrackScaledTime<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 moreimpl<T: Copy + Num> Copy for TrackScaledTime<T>
impl<T: Num> StructuralPartialEq for TrackScaledTime<T>
Auto Trait Implementations§
impl<T> Freeze for TrackScaledTime<T>where
T: Freeze,
impl<T> RefUnwindSafe for TrackScaledTime<T>where
T: RefUnwindSafe,
impl<T> Send for TrackScaledTime<T>where
T: Send,
impl<T> Sync for TrackScaledTime<T>where
T: Sync,
impl<T> Unpin for TrackScaledTime<T>where
T: Unpin,
impl<T> UnwindSafe for TrackScaledTime<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