Struct MacTypes_sys::TimeRecord
source · #[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
sourceimpl Clone for TimeRecord
impl Clone for TimeRecord
sourcefn clone(&self) -> TimeRecord
fn clone(&self) -> TimeRecord
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TimeRecord
impl Debug for TimeRecord
sourceimpl Hash for TimeRecord
impl Hash for TimeRecord
sourceimpl PartialEq<TimeRecord> for TimeRecord
impl PartialEq<TimeRecord> for TimeRecord
sourcefn eq(&self, other: &TimeRecord) -> bool
fn eq(&self, other: &TimeRecord) -> bool
impl Copy for TimeRecord
impl Eq for TimeRecord
impl StructuralEq for TimeRecord
impl StructuralPartialEq for TimeRecord
Auto Trait Implementations
impl RefUnwindSafe for TimeRecord
impl !Send for TimeRecord
impl !Sync for TimeRecord
impl Unpin for TimeRecord
impl UnwindSafe for TimeRecord
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more