pub struct ClockSource { /* private fields */ }
Expand description
A clock source that can be used to drive the contained clock. Created when a clock of type
ClockType::RosTime
is constructed
Implementations§
Source§impl ClockSource
impl ClockSource
Sourcepub fn set_ros_time_override(&self, nanoseconds: i64)
pub fn set_ros_time_override(&self, nanoseconds: i64)
Sets the value of the current ROS time.
Trait Implementations§
Source§impl Drop for ClockSource
impl Drop for ClockSource
Source§impl PartialEq for ClockSource
impl PartialEq for ClockSource
Auto Trait Implementations§
impl Freeze for ClockSource
impl RefUnwindSafe for ClockSource
impl Send for ClockSource
impl Sync for ClockSource
impl Unpin for ClockSource
impl UnwindSafe for ClockSource
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