pub struct HeTimestamp {
pub seconds: i32,
pub fraction: u32,
}Expand description
8-Byte Sender-Timestamp (Time_t = i32 sec + u32 nanosec, Big-Endian im RTPS-Wire-Sinn — wird im HE-Body in Submessage-Endianness geschrieben).
Fields§
§seconds: i32Sekunden seit Unix-Epoch.
fraction: u32Nanosekunden im laufenden Sekunden-Tick.
Trait Implementations§
Source§impl Clone for HeTimestamp
impl Clone for HeTimestamp
Source§fn clone(&self) -> HeTimestamp
fn clone(&self) -> HeTimestamp
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HeTimestamp
impl Debug for HeTimestamp
Source§impl Default for HeTimestamp
impl Default for HeTimestamp
Source§fn default() -> HeTimestamp
fn default() -> HeTimestamp
Returns the “default value” for a type. Read more
Source§impl PartialEq for HeTimestamp
impl PartialEq for HeTimestamp
Source§fn eq(&self, other: &HeTimestamp) -> bool
fn eq(&self, other: &HeTimestamp) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HeTimestamp
impl Eq for HeTimestamp
impl StructuralPartialEq for HeTimestamp
Auto Trait Implementations§
impl Freeze for HeTimestamp
impl RefUnwindSafe for HeTimestamp
impl Send for HeTimestamp
impl Sync for HeTimestamp
impl Unpin for HeTimestamp
impl UnsafeUnpin for HeTimestamp
impl UnwindSafe for HeTimestamp
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