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<TimestampInfo> for TimestampInfo
impl PartialEq<TimestampInfo> 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<TimestampInfo> for TimestampInfo
impl PartialOrd<TimestampInfo> 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 more