Struct rclrust_msg::rcl_interfaces::msg::ParameterValue
source · [−]pub struct ParameterValue {
pub type_: u8,
pub bool_value: bool,
pub integer_value: i64,
pub double_value: f64,
pub string_value: String,
pub byte_array_value: Vec<u8>,
pub bool_array_value: Vec<bool>,
pub integer_array_value: Vec<i64>,
pub double_array_value: Vec<f64>,
pub string_array_value: Vec<String>,
}
Fields
type_: u8
bool_value: bool
integer_value: i64
double_value: f64
string_value: String
byte_array_value: Vec<u8>
bool_array_value: Vec<bool>
integer_array_value: Vec<i64>
double_array_value: Vec<f64>
string_array_value: Vec<String>
Trait Implementations
sourceimpl Clone for ParameterValue
impl Clone for ParameterValue
sourcefn clone(&self) -> ParameterValue
fn clone(&self) -> ParameterValue
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 ParameterValue
impl Debug for ParameterValue
sourceimpl Default for ParameterValue
impl Default for ParameterValue
sourceimpl InternalDefault for ParameterValue
impl InternalDefault for ParameterValue
sourceimpl MessageT for ParameterValue
impl MessageT for ParameterValue
type Raw = ParameterValue_Raw
type RawRef = ParameterValue_RawRef
fn type_support() -> *const c_void
unsafe fn from_raw(from: &Self::Raw) -> Self
unsafe fn to_raw_ref(&self) -> Self::RawRef
sourceimpl PartialEq<ParameterValue> for ParameterValue
impl PartialEq<ParameterValue> for ParameterValue
sourcefn eq(&self, other: &ParameterValue) -> bool
fn eq(&self, other: &ParameterValue) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ParameterValue) -> bool
fn ne(&self, other: &ParameterValue) -> bool
This method tests for !=
.
impl StructuralPartialEq for ParameterValue
Auto Trait Implementations
impl RefUnwindSafe for ParameterValue
impl Send for ParameterValue
impl Sync for ParameterValue
impl Unpin for ParameterValue
impl UnwindSafe for ParameterValue
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