#[repr(C)]pub struct rcl_interfaces__msg__ParameterValue {
pub type_: u8,
pub bool_value: bool,
pub integer_value: i64,
pub double_value: f64,
pub string_value: rosidl_runtime_c__String,
pub byte_array_value: rosidl_runtime_c__octet__Sequence,
pub bool_array_value: rosidl_runtime_c__boolean__Sequence,
pub integer_array_value: rosidl_runtime_c__int64__Sequence,
pub double_array_value: rosidl_runtime_c__double__Sequence,
pub string_array_value: rosidl_runtime_c__String__Sequence,
}
Fields§
§type_: u8
§bool_value: bool
§integer_value: i64
§double_value: f64
§string_value: rosidl_runtime_c__String
§byte_array_value: rosidl_runtime_c__octet__Sequence
§bool_array_value: rosidl_runtime_c__boolean__Sequence
§integer_array_value: rosidl_runtime_c__int64__Sequence
§double_array_value: rosidl_runtime_c__double__Sequence
§string_array_value: rosidl_runtime_c__String__Sequence
Auto Trait Implementations§
impl Freeze for rcl_interfaces__msg__ParameterValue
impl RefUnwindSafe for rcl_interfaces__msg__ParameterValue
impl !Send for rcl_interfaces__msg__ParameterValue
impl !Sync for rcl_interfaces__msg__ParameterValue
impl Unpin for rcl_interfaces__msg__ParameterValue
impl UnwindSafe for rcl_interfaces__msg__ParameterValue
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more