pub struct Constants {}Implementations§
Source§impl Constants
impl Constants
pub const BOOL_CONST: bool = true
pub const BYTE_CONST: _bindgen_ty_147 = test_msgs__msg__Constants__BYTE_CONST
pub const CHAR_CONST: _bindgen_ty_148 = test_msgs__msg__Constants__CHAR_CONST
pub const FLOAT32_CONST: f32 = 1.125f32
pub const FLOAT64_CONST: f64 = 1.125f64
pub const INT16_CONST: _bindgen_ty_151 = test_msgs__msg__Constants__INT16_CONST
pub const INT32_CONST: _bindgen_ty_153 = test_msgs__msg__Constants__INT32_CONST
pub const INT64_CONST: _bindgen_ty_155 = test_msgs__msg__Constants__INT64_CONST
pub const INT8_CONST: _bindgen_ty_149 = test_msgs__msg__Constants__INT8_CONST
pub const UINT16_CONST: _bindgen_ty_152 = test_msgs__msg__Constants__UINT16_CONST
pub const UINT32_CONST: _bindgen_ty_154 = test_msgs__msg__Constants__UINT32_CONST
pub const UINT64_CONST: _bindgen_ty_156 = test_msgs__msg__Constants__UINT64_CONST
pub const UINT8_CONST: _bindgen_ty_150 = test_msgs__msg__Constants__UINT8_CONST
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Constants
impl<'de> Deserialize<'de> for Constants
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl WrappedTypesupport for Constants
impl WrappedTypesupport for Constants
type CStruct = test_msgs__msg__Constants
fn get_ts() -> &'static rosidl_message_type_support_t
fn create_msg() -> *mut test_msgs__msg__Constants
fn destroy_msg(msg: *mut test_msgs__msg__Constants)
fn from_native(msg: &Self::CStruct) -> Constants
fn copy_to_native(&self, msg: &mut Self::CStruct)
Source§fn to_serialized_bytes(&self) -> Result<Vec<u8>>
fn to_serialized_bytes(&self) -> Result<Vec<u8>>
This serializes the message using ROS2 methods.
Source§fn from_serialized_bytes(data: &[u8]) -> Result<Self>
fn from_serialized_bytes(data: &[u8]) -> Result<Self>
This deserializes the message using ROS2 methods.
impl StructuralPartialEq for Constants
Auto Trait Implementations§
impl Freeze for Constants
impl RefUnwindSafe for Constants
impl Send for Constants
impl Sync for Constants
impl Unpin for Constants
impl UnwindSafe for Constants
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more