Struct trace_recorder_parser::time::DifferentialTimestamp
source · pub struct DifferentialTimestamp(/* private fields */);
Expand description
Time (in ticks) since the previous event in the recorder log. Can be up to 4 bytes in size, depending on how many DTS bytes are available in the event at hand and how much time has elapsed since the previous event.
Implementations§
Trait Implementations§
source§impl Add<DifferentialTimestamp> for Timestamp
impl Add<DifferentialTimestamp> for Timestamp
source§impl Add for DifferentialTimestamp
impl Add for DifferentialTimestamp
§type Output = DifferentialTimestamp
type Output = DifferentialTimestamp
The resulting type after applying the
+
operator.source§fn add(self, rhs: DifferentialTimestamp) -> DifferentialTimestamp
fn add(self, rhs: DifferentialTimestamp) -> DifferentialTimestamp
Performs the
+
operation. Read moresource§impl AddAssign<DifferentialTimestamp> for Timestamp
impl AddAssign<DifferentialTimestamp> for Timestamp
source§fn add_assign(&mut self, dt: DifferentialTimestamp)
fn add_assign(&mut self, dt: DifferentialTimestamp)
Performs the
+=
operation. Read moresource§impl AddAssign<Dts16> for DifferentialTimestamp
impl AddAssign<Dts16> for DifferentialTimestamp
source§fn add_assign(&mut self, dts: Dts16)
fn add_assign(&mut self, dts: Dts16)
Performs the
+=
operation. Read moresource§impl AddAssign<Dts8> for DifferentialTimestamp
impl AddAssign<Dts8> for DifferentialTimestamp
source§fn add_assign(&mut self, dts: Dts8)
fn add_assign(&mut self, dts: Dts8)
Performs the
+=
operation. Read moresource§impl AddAssign for DifferentialTimestamp
impl AddAssign for DifferentialTimestamp
source§fn add_assign(&mut self, rhs: DifferentialTimestamp)
fn add_assign(&mut self, rhs: DifferentialTimestamp)
Performs the
+=
operation. Read moresource§impl Binary for DifferentialTimestamp
impl Binary for DifferentialTimestamp
source§impl Clone for DifferentialTimestamp
impl Clone for DifferentialTimestamp
source§fn clone(&self) -> DifferentialTimestamp
fn clone(&self) -> DifferentialTimestamp
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 Debug for DifferentialTimestamp
impl Debug for DifferentialTimestamp
source§impl Display for DifferentialTimestamp
impl Display for DifferentialTimestamp
source§impl Hash for DifferentialTimestamp
impl Hash for DifferentialTimestamp
source§impl LowerHex for DifferentialTimestamp
impl LowerHex for DifferentialTimestamp
source§impl<__RhsT> MulAssign<__RhsT> for DifferentialTimestamp
impl<__RhsT> MulAssign<__RhsT> for DifferentialTimestamp
source§fn mul_assign(&mut self, rhs: __RhsT)
fn mul_assign(&mut self, rhs: __RhsT)
Performs the
*=
operation. Read moresource§impl Octal for DifferentialTimestamp
impl Octal for DifferentialTimestamp
source§impl Ord for DifferentialTimestamp
impl Ord for DifferentialTimestamp
source§fn cmp(&self, other: &DifferentialTimestamp) -> Ordering
fn cmp(&self, other: &DifferentialTimestamp) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DifferentialTimestamp
impl PartialEq for DifferentialTimestamp
source§impl PartialOrd for DifferentialTimestamp
impl PartialOrd for DifferentialTimestamp
source§impl Sum for DifferentialTimestamp
impl Sum for DifferentialTimestamp
source§impl UpperHex for DifferentialTimestamp
impl UpperHex for DifferentialTimestamp
impl Copy for DifferentialTimestamp
impl Eq for DifferentialTimestamp
impl StructuralPartialEq for DifferentialTimestamp
Auto Trait Implementations§
impl Freeze for DifferentialTimestamp
impl RefUnwindSafe for DifferentialTimestamp
impl Send for DifferentialTimestamp
impl Sync for DifferentialTimestamp
impl Unpin for DifferentialTimestamp
impl UnwindSafe for DifferentialTimestamp
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)