#[repr(u8)]pub enum MavParamExtType {
Uint8 = 1,
Int8 = 2,
Uint16 = 3,
Int16 = 4,
Uint32 = 5,
Int32 = 6,
Uint64 = 7,
Int64 = 8,
Real32 = 9,
Real64 = 10,
Custom = 11,
}Expand description
MAVLink enum MAV_PARAM_EXT_TYPE for common dialect.
Specifies the datatype of a MAVLink extended parameter.
Variants§
Uint8 = 1
MAVLink enum entry MAV_PARAM_EXT_TYPE_UINT8.
8-bit unsigned integer
Int8 = 2
MAVLink enum entry MAV_PARAM_EXT_TYPE_INT8.
8-bit signed integer
Uint16 = 3
MAVLink enum entry MAV_PARAM_EXT_TYPE_UINT16.
16-bit unsigned integer
Int16 = 4
MAVLink enum entry MAV_PARAM_EXT_TYPE_INT16.
16-bit signed integer
Uint32 = 5
MAVLink enum entry MAV_PARAM_EXT_TYPE_UINT32.
32-bit unsigned integer
Int32 = 6
MAVLink enum entry MAV_PARAM_EXT_TYPE_INT32.
32-bit signed integer
Uint64 = 7
MAVLink enum entry MAV_PARAM_EXT_TYPE_UINT64.
64-bit unsigned integer
Int64 = 8
MAVLink enum entry MAV_PARAM_EXT_TYPE_INT64.
64-bit signed integer
Real32 = 9
MAVLink enum entry MAV_PARAM_EXT_TYPE_REAL32.
32-bit floating-point
Real64 = 10
MAVLink enum entry MAV_PARAM_EXT_TYPE_REAL64.
64-bit floating-point
Custom = 11
MAVLink enum entry MAV_PARAM_EXT_TYPE_CUSTOM.
Custom Type
Implementations§
Trait Implementations§
Source§impl Clone for MavParamExtType
impl Clone for MavParamExtType
Source§fn clone(&self) -> MavParamExtType
fn clone(&self) -> MavParamExtType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MavParamExtType
impl Debug for MavParamExtType
Source§impl Default for MavParamExtType
impl Default for MavParamExtType
Source§fn default() -> MavParamExtType
fn default() -> MavParamExtType
Source§impl<'de> Deserialize<'de> for MavParamExtType
impl<'de> Deserialize<'de> for MavParamExtType
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>,
Source§impl NamedType for MavParamExtType
impl NamedType for MavParamExtType
fn sid() -> SpectaID
Source§fn named_data_type(
type_map: &mut TypeCollection,
generics: &[DataType],
) -> NamedDataType
fn named_data_type( type_map: &mut TypeCollection, generics: &[DataType], ) -> NamedDataType
Source§fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
Source§impl PartialEq for MavParamExtType
impl PartialEq for MavParamExtType
Source§impl Serialize for MavParamExtType
impl Serialize for MavParamExtType
Source§impl TryFrom<u8> for MavParamExtType
impl TryFrom<u8> for MavParamExtType
Source§impl Type for MavParamExtType
impl Type for MavParamExtType
Source§fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
Source§fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
definition will be put into the type map.