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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.