pub struct ArrayTest6 {
pub v1: u8,
pub v2: u16,
pub v3: u32,
pub ar_u32: [u32; 2],
pub ar_i32: [i32; 2],
pub ar_u16: [u16; 2],
pub ar_i16: [i16; 2],
pub ar_u8: [u8; 2],
pub ar_i8: [i8; 2],
pub ar_c: [u8; 32],
pub ar_d: [f64; 2],
pub ar_f: [f32; 2],
}Expand description
MAVLink ARRAY_TEST_6 message.
The minimum supported MAVLink version is MAVLink 2.
§Description
Array test #6.
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
ArrayTest6 (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§v1: u8MAVLink field v1.
Stub field
v2: u16MAVLink field v2.
Stub field
v3: u32MAVLink field v3.
Stub field
ar_u32: [u32; 2]MAVLink field ar_u32.
Value array
ar_i32: [i32; 2]MAVLink field ar_i32.
Value array
ar_u16: [u16; 2]MAVLink field ar_u16.
Value array
ar_i16: [i16; 2]MAVLink field ar_i16.
Value array
ar_u8: [u8; 2]MAVLink field ar_u8.
Value array
ar_i8: [i8; 2]MAVLink field ar_i8.
Value array
ar_c: [u8; 32]MAVLink field ar_c.
Value array
ar_d: [f64; 2]MAVLink field ar_d.
Value array
ar_f: [f32; 2]MAVLink field ar_f.
Value array
Implementations§
Source§impl ArrayTest6
impl ArrayTest6
Sourcepub const fn spec() -> MessageInfo
pub const fn spec() -> MessageInfo
Returns specification for this message.
Sourcepub const fn message_id() -> MessageId
pub const fn message_id() -> MessageId
Message ID.
Sourcepub const fn min_supported_mavlink_version() -> MavLinkVersion
pub const fn min_supported_mavlink_version() -> MavLinkVersion
Minimum supported MAVLink version for this message.
Trait Implementations§
Source§impl Clone for ArrayTest6
impl Clone for ArrayTest6
Source§fn clone(&self) -> ArrayTest6
fn clone(&self) -> ArrayTest6
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ArrayTest6
impl Debug for ArrayTest6
Source§impl Default for ArrayTest6
impl Default for ArrayTest6
Source§impl<'de> Deserialize<'de> for ArrayTest6
impl<'de> Deserialize<'de> for ArrayTest6
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 From<ArrayTest6> for PythonArrayTest
impl From<ArrayTest6> for PythonArrayTest
Source§fn from(value: ArrayTest6) -> Self
fn from(value: ArrayTest6) -> Self
Source§impl IntoPayload for ArrayTest6
impl IntoPayload for ArrayTest6
Source§impl MessageSpec for ArrayTest6
impl MessageSpec for ArrayTest6
Source§impl MessageSpecStatic for ArrayTest6
impl MessageSpecStatic for ArrayTest6
Source§fn spec() -> MessageInfo
fn spec() -> MessageInfo
Source§fn message_id() -> MessageId
fn message_id() -> MessageId
ID.Source§fn min_supported_mavlink_version() -> MavLinkVersion
fn min_supported_mavlink_version() -> MavLinkVersion
Source§impl NamedType for ArrayTest6
impl NamedType for ArrayTest6
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 ArrayTest6
impl PartialEq for ArrayTest6
Source§impl Serialize for ArrayTest6
impl Serialize for ArrayTest6
Source§impl TryFrom<&Payload> for ArrayTest6
impl TryFrom<&Payload> for ArrayTest6
Source§impl Type for ArrayTest6
impl Type for ArrayTest6
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.