pub struct TimestampInfo {
pub timer_type: TimerCounter,
pub timer_frequency: Frequency,
pub timer_period: u32,
pub timer_wraparounds: u32,
pub os_tick_rate_hz: Frequency,
pub latest_timestamp: Timestamp,
pub os_tick_count: u32,
}
Fields§
§timer_type: TimerCounter
§timer_frequency: Frequency
§timer_period: u32
§timer_wraparounds: u32
§os_tick_rate_hz: Frequency
§latest_timestamp: Timestamp
§os_tick_count: u32
Trait Implementations§
source§impl Clone for TimestampInfo
impl Clone for TimestampInfo
source§fn clone(&self) -> TimestampInfo
fn clone(&self) -> TimestampInfo
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 TimestampInfo
impl Debug for TimestampInfo
source§impl Hash for TimestampInfo
impl Hash for TimestampInfo
source§impl Ord for TimestampInfo
impl Ord for TimestampInfo
source§fn cmp(&self, other: &TimestampInfo) -> Ordering
fn cmp(&self, other: &TimestampInfo) -> 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 TimestampInfo
impl PartialEq for TimestampInfo
source§fn eq(&self, other: &TimestampInfo) -> bool
fn eq(&self, other: &TimestampInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TimestampInfo
impl PartialOrd for TimestampInfo
source§fn partial_cmp(&self, other: &TimestampInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &TimestampInfo) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for TimestampInfo
impl StructuralEq for TimestampInfo
impl StructuralPartialEq for TimestampInfo
Auto Trait Implementations§
impl RefUnwindSafe for TimestampInfo
impl Send for TimestampInfo
impl Sync for TimestampInfo
impl Unpin for TimestampInfo
impl UnwindSafe for TimestampInfo
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