pub enum Primitive {
Show 13 variants
Bool,
Byte,
Char,
Float32,
Float64,
Int8,
Uint8,
Int16,
Uint16,
Int32,
Uint32,
Int64,
Uint64,
}Expand description
A primitive type of the interface languages.
Variants§
Bool
Byte
byte: an octet.
Char
char: in ROS 2, an unsigned 8-bit integer.
Float32
Float64
Int8
Uint8
Int16
Uint16
Int32
Uint32
Int64
Uint64
Implementations§
Trait Implementations§
impl Copy for Primitive
impl Eq for Primitive
impl StructuralPartialEq for Primitive
Auto Trait Implementations§
impl Forget for Primitive
impl Freeze for Primitive
impl Move for Primitive
impl RefUnwindSafe for Primitive
impl Send for Primitive
impl Sync for Primitive
impl Unpin for Primitive
impl UnsafeUnpin for Primitive
impl UnwindSafe for Primitive
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