#[repr(u32)]
pub enum ClockType {
Uninitialized,
RosTime,
SystemTime,
SteadyTime,
}
Expand description
Time source type, used to indicate the source of a time measurement.
Variants
Uninitialized
RosTime
SystemTime
SteadyTime
Trait Implementations
sourceimpl Clone for RclClockType
impl Clone for RclClockType
sourcefn clone(&self) -> RclClockType
fn clone(&self) -> RclClockType
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 RclClockType
impl Debug for RclClockType
sourceimpl Hash for RclClockType
impl Hash for RclClockType
sourceimpl PartialEq<RclClockType> for RclClockType
impl PartialEq<RclClockType> for RclClockType
impl Copy for RclClockType
impl Eq for RclClockType
impl StructuralEq for RclClockType
impl StructuralPartialEq for RclClockType
Auto Trait Implementations
impl RefUnwindSafe for RclClockType
impl Send for RclClockType
impl Sync for RclClockType
impl Unpin for RclClockType
impl UnwindSafe for RclClockType
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