pub struct MemoryVect {
pub address: u16,
pub ver: u8,
pub type_: u8,
pub value: [i8; 32],
}Expand description
MAVLink MEMORY_VECT message.
Minimum supported MAVLink version is MAVLink 1.
§Description
Send raw controller memory. The use of this message is discouraged for normal packets, but a quite efficient way for testing new messages and getting experimental debug output.
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
MemoryVect (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§address: u16MAVLink field address.
Starting address of the debug variables
ver: u8MAVLink field ver.
Version code of the type variable. 0=unknown, type ignored and assumed int16_t. 1=as below
type_: u8MAVLink field type.
Type code of the memory variables. for ver = 1: 0=16 x int16_t, 1=16 x uint16_t, 2=16 x Q15, 3=16 x 1Q14
value: [i8; 32]MAVLink field value.
Memory contents at specified address
Implementations§
Source§impl MemoryVect
impl MemoryVect
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 MemoryVect
impl Clone for MemoryVect
Source§fn clone(&self) -> MemoryVect
fn clone(&self) -> MemoryVect
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MemoryVect
impl Debug for MemoryVect
Source§impl Default for MemoryVect
impl Default for MemoryVect
Source§impl<'de> Deserialize<'de> for MemoryVect
impl<'de> Deserialize<'de> for MemoryVect
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<MemoryVect> for Common
impl From<MemoryVect> for Common
Source§fn from(value: MemoryVect) -> Self
fn from(value: MemoryVect) -> Self
Source§impl IntoPayload for MemoryVect
impl IntoPayload for MemoryVect
Source§impl MessageSpec for MemoryVect
impl MessageSpec for MemoryVect
Source§impl MessageSpecStatic for MemoryVect
impl MessageSpecStatic for MemoryVect
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 MemoryVect
impl NamedType for MemoryVect
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 MemoryVect
impl PartialEq for MemoryVect
Source§impl Serialize for MemoryVect
impl Serialize for MemoryVect
Source§impl TryFrom<&Payload> for MemoryVect
impl TryFrom<&Payload> for MemoryVect
Source§impl Type for MemoryVect
impl Type for MemoryVect
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.