Struct r2r_rcl::rcl_variant_s
source · #[repr(C)]pub struct rcl_variant_s {
pub bool_value: *mut bool,
pub integer_value: *mut i64,
pub double_value: *mut f64,
pub string_value: *mut c_char,
pub byte_array_value: *mut rcl_byte_array_t,
pub bool_array_value: *mut rcl_bool_array_t,
pub integer_array_value: *mut rcl_int64_array_t,
pub double_array_value: *mut rcl_double_array_t,
pub string_array_value: *mut rcutils_string_array_t,
}
Fields§
§bool_value: *mut bool
§integer_value: *mut i64
§double_value: *mut f64
§string_value: *mut c_char
§byte_array_value: *mut rcl_byte_array_t
§bool_array_value: *mut rcl_bool_array_t
§integer_array_value: *mut rcl_int64_array_t
§double_array_value: *mut rcl_double_array_t
§string_array_value: *mut rcutils_string_array_t
Trait Implementations§
source§impl Clone for rcl_variant_s
impl Clone for rcl_variant_s
source§fn clone(&self) -> rcl_variant_s
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)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for rcl_variant_s
impl Debug for rcl_variant_s
source§impl PartialEq for rcl_variant_s
impl PartialEq for rcl_variant_s
impl Copy for rcl_variant_s
impl StructuralPartialEq for rcl_variant_s
Auto Trait Implementations§
impl Freeze for rcl_variant_s
impl RefUnwindSafe for rcl_variant_s
impl !Send for rcl_variant_s
impl !Sync for rcl_variant_s
impl Unpin for rcl_variant_s
impl UnwindSafe for rcl_variant_s
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)