pub struct Time {
pub nsec: i64,
pub clock: Weak<Mutex<rcl_clock_t>>,
}
Expand description
Struct that represents time.
Fields§
§nsec: i64
Timestamp in nanoseconds.
clock: Weak<Mutex<rcl_clock_t>>
Weak reference to the clock that generated this time
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Time
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnwindSafe for Time
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