Struct mp4parse::TrackScaledTime
source · pub struct TrackScaledTime<T>(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<TrackScaledTime<T>> for TrackScaledTime<T>where
T: CheckedAdd,
impl<T> Add<TrackScaledTime<T>> for TrackScaledTime<T>where T: CheckedAdd,
§type Output = Option<TrackScaledTime<T>>
type Output = Option<TrackScaledTime<T>>
The resulting type after applying the
+
operator.source§impl<T: Clone> Clone for TrackScaledTime<T>
impl<T: Clone> 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 moresource§impl<T: Debug> Debug for TrackScaledTime<T>
impl<T: Debug> Debug for TrackScaledTime<T>
source§impl<T: PartialEq> PartialEq<TrackScaledTime<T>> for TrackScaledTime<T>
impl<T: PartialEq> PartialEq<TrackScaledTime<T>> for TrackScaledTime<T>
source§fn eq(&self, other: &TrackScaledTime<T>) -> bool
fn eq(&self, other: &TrackScaledTime<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Copy> Copy for TrackScaledTime<T>
impl<T> StructuralPartialEq for TrackScaledTime<T>
Auto Trait Implementations§
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