r2r_rcl

Type Alias rcl_variant_t

Source
pub type rcl_variant_t = rcl_variant_s;

Aliased Type§

struct rcl_variant_t {
    pub bool_value: *mut bool,
    pub integer_value: *mut i64,
    pub double_value: *mut f64,
    pub string_value: *mut i8,
    pub byte_array_value: *mut rcl_byte_array_s,
    pub bool_array_value: *mut rcl_bool_array_s,
    pub integer_array_value: *mut rcl_int64_array_s,
    pub double_array_value: *mut rcl_double_array_s,
    pub string_array_value: *mut rcutils_string_array_s,
}

Fields§

§bool_value: *mut bool§integer_value: *mut i64§double_value: *mut f64§string_value: *mut i8§byte_array_value: *mut rcl_byte_array_s§bool_array_value: *mut rcl_bool_array_s§integer_array_value: *mut rcl_int64_array_s§double_array_value: *mut rcl_double_array_s§string_array_value: *mut rcutils_string_array_s

Trait Implementations

Source§

impl Clone for rcl_variant_s

Source§

fn clone(&self) -> rcl_variant_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_variant_s

Source§

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

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

impl PartialEq for rcl_variant_s

Source§

fn eq(&self, other: &rcl_variant_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_variant_s

Source§

impl StructuralPartialEq for rcl_variant_s