#[repr(C)]pub struct TimeRecord {
pub value: CompTimeValue,
pub scale: TimeScale,
pub base: TimeBase,
}Expand description
Package of TimeBase, duration, and scale.
Fields§
§value: CompTimeValueUnits (duration or absolute).
scale: TimeScaleUnits per second.
base: TimeBaseReference to the time base
Trait Implementations§
Source§impl Clone for TimeRecord
impl Clone for TimeRecord
Source§fn clone(&self) -> TimeRecord
fn clone(&self) -> TimeRecord
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 moreSource§impl Debug for TimeRecord
impl Debug for TimeRecord
Source§impl Hash for TimeRecord
impl Hash for TimeRecord
Source§impl PartialEq for TimeRecord
impl PartialEq for TimeRecord
Source§fn eq(&self, other: &TimeRecord) -> bool
fn eq(&self, other: &TimeRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TimeRecord
impl Eq for TimeRecord
impl StructuralPartialEq for TimeRecord
Auto Trait Implementations§
impl Freeze for TimeRecord
impl RefUnwindSafe for TimeRecord
impl !Send for TimeRecord
impl !Sync for TimeRecord
impl Unpin for TimeRecord
impl UnsafeUnpin for TimeRecord
impl UnwindSafe for TimeRecord
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