#[repr(C)]pub struct TimeRecord {
pub value: CompTimeValue,
pub scale: TimeScale,
pub base: TimeBase,
}
Expand description
Package of TimeBase, duration, and scale.
Fields§
§value: CompTimeValue
Units (duration or absolute).
scale: TimeScale
Units per second.
base: TimeBase
Reference 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 · 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
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 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