r2r_rcl

Type Alias rcl_time_point_t

Source
pub type rcl_time_point_t = rcl_time_point_s;

Aliased Type§

struct rcl_time_point_t {
    pub nanoseconds: i64,
    pub clock_type: rcl_clock_type_e,
}

Fields§

§nanoseconds: i64§clock_type: rcl_clock_type_e

Trait Implementations

Source§

impl Clone for rcl_time_point_s

Source§

fn clone(&self) -> rcl_time_point_s

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for rcl_time_point_s

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for rcl_time_point_s

Source§

fn eq(&self, other: &rcl_time_point_s) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for rcl_time_point_s

Source§

impl StructuralPartialEq for rcl_time_point_s