#[repr(u8)]pub enum ParameterType {
NotSet = 0,
Bool = 1,
Integer = 2,
Double = 3,
String = 4,
ByteArray = 5,
BoolArray = 6,
IntegerArray = 7,
DoubleArray = 8,
StringArray = 9,
}Expand description
ROS 2 parameter types
These match the parameter types defined in rcl_interfaces/msg/ParameterType
Variants§
NotSet = 0
Parameter value not set
Bool = 1
Boolean parameter
Integer = 2
64-bit signed integer parameter
Double = 3
64-bit floating point parameter
String = 4
String parameter
ByteArray = 5
Byte array parameter
BoolArray = 6
Boolean array parameter
IntegerArray = 7
Integer array parameter
DoubleArray = 8
Double array parameter
StringArray = 9
String array parameter
Trait Implementations§
Source§impl Clone for ParameterType
impl Clone for ParameterType
Source§fn clone(&self) -> ParameterType
fn clone(&self) -> ParameterType
Returns a duplicate 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 ParameterType
impl Debug for ParameterType
Source§impl Default for ParameterType
impl Default for ParameterType
Source§fn default() -> ParameterType
fn default() -> ParameterType
Returns the “default value” for a type. Read more
Source§impl PartialEq for ParameterType
impl PartialEq for ParameterType
impl Copy for ParameterType
impl Eq for ParameterType
impl StructuralPartialEq for ParameterType
Auto Trait Implementations§
impl Freeze for ParameterType
impl RefUnwindSafe for ParameterType
impl Send for ParameterType
impl Sync for ParameterType
impl Unpin for ParameterType
impl UnsafeUnpin for ParameterType
impl UnwindSafe for ParameterType
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