#[repr(u32)]
pub enum rcl_clock_change_t {
RCL_ROS_TIME_NO_CHANGE,
RCL_ROS_TIME_ACTIVATED,
RCL_ROS_TIME_DEACTIVATED,
RCL_SYSTEM_TIME_NO_CHANGE,
}
Expand description
Enumeration to describe the type of time jump.
Variants
RCL_ROS_TIME_NO_CHANGE
The source before and after the jump is ROS_TIME.
RCL_ROS_TIME_ACTIVATED
The source switched to ROS_TIME from SYSTEM_TIME.
RCL_ROS_TIME_DEACTIVATED
The source switched to SYSTEM_TIME from ROS_TIME.
RCL_SYSTEM_TIME_NO_CHANGE
The source before and after the jump is SYSTEM_TIME.
Trait Implementations
sourceimpl Clone for rcl_clock_change_t
impl Clone for rcl_clock_change_t
sourcefn clone(&self) -> rcl_clock_change_t
fn clone(&self) -> rcl_clock_change_t
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for rcl_clock_change_t
impl Debug for rcl_clock_change_t
sourceimpl Hash for rcl_clock_change_t
impl Hash for rcl_clock_change_t
impl Copy for rcl_clock_change_t
impl Eq for rcl_clock_change_t
impl StructuralEq for rcl_clock_change_t
impl StructuralPartialEq for rcl_clock_change_t
Auto Trait Implementations
impl RefUnwindSafe for rcl_clock_change_t
impl Send for rcl_clock_change_t
impl Sync for rcl_clock_change_t
impl Unpin for rcl_clock_change_t
impl UnwindSafe for rcl_clock_change_t
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more