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
List of Parameter types supported by ROS 2. https://github.com/ros2/rcl_interfaces/blob/humble/rcl_interfaces/msg/ParameterType.msg
Variants§
NotSet = 0
Bool = 1
Integer = 2
Double = 3
String = 4
ByteArray = 5
BoolArray = 6
IntegerArray = 7
DoubleArray = 8
StringArray = 9
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ParameterType
Source§impl Debug for ParameterType
impl Debug for ParameterType
impl Eq for ParameterType
Source§impl Hash for ParameterType
impl Hash for ParameterType
Source§impl Ord for ParameterType
impl Ord for ParameterType
Source§fn cmp(&self, other: &ParameterType) -> Ordering
fn cmp(&self, other: &ParameterType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ParameterType
impl PartialEq for ParameterType
Source§fn eq(&self, other: &ParameterType) -> bool
fn eq(&self, other: &ParameterType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ParameterType
impl PartialOrd 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