Enum ros2_client::parameters::ParameterValue
source · [−]pub enum ParameterValue {
NotSet,
Boolean(bool),
Integer(i64),
Double(f64),
String(String),
ByteArray(Vec<u8>),
BooleanArray(Vec<bool>),
IntegerArray(Vec<i64>),
DoubleArray(Vec<f64>),
StringArray(Vec<String>),
}
Expand description
Rust-like representation of ROS2 ParameterValue
Variants
NotSet
Boolean(bool)
Integer(i64)
Double(f64)
String(String)
ByteArray(Vec<u8>)
BooleanArray(Vec<bool>)
IntegerArray(Vec<i64>)
DoubleArray(Vec<f64>)
StringArray(Vec<String>)
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