pub struct Time64 { /* private fields */ }Expand description
64 Bit Fixed Precision Time Format, storing 32 bits of Seconds, and 32 bits
of Fractional Seconds. This is the equivalent of Q32.32, and is semantically
equivalent to the NTP Timestamp Format if using the epoch::NTP_EPOCH.
The 32-bit seconds field can resolve 136 years, and the 32-bit fractional field can resolve down to 232 picoseconds.
The raw value is 64 bits wide, if you take the middle 32
bits, this is identical to a Time32 - (lower 16 of seconds, upper 16 of
fractional_seconds).
Implementations§
Trait Implementations§
source§impl PartialEq for Time64
impl PartialEq for Time64
source§impl PartialOrd for Time64
impl PartialOrd for Time64
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 Copy for Time64
impl StructuralPartialEq for Time64
Auto Trait Implementations§
impl RefUnwindSafe for Time64
impl Send for Time64
impl Sync for Time64
impl Unpin for Time64
impl UnwindSafe for Time64
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