pub struct FlexifunctionBufferFunction {
pub target_system: u8,
pub target_component: u8,
pub func_index: u16,
pub func_count: u16,
pub data_address: u16,
pub data_size: u16,
pub data: [i8; 48],
}Expand description
MAVLink FLEXIFUNCTION_BUFFER_FUNCTION message.
The minimum supported MAVLink version is MAVLink 1.
§Description
Flexifunction type and parameters for component at function index from buffer
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
FlexifunctionBufferFunction (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§target_system: u8MAVLink field target_system.
System ID
target_component: u8MAVLink field target_component.
Component ID
func_index: u16MAVLink field func_index.
Function index
func_count: u16MAVLink field func_count.
Total count of functions
data_address: u16MAVLink field data_address.
Address in the flexifunction data, Set to 0xFFFF to use address in target memory
data_size: u16MAVLink field data_size.
Size of the
data: [i8; 48]MAVLink field data.
Settings data
Implementations§
Source§impl FlexifunctionBufferFunction
impl FlexifunctionBufferFunction
Sourcepub const fn spec() -> MessageInfo
pub const fn spec() -> MessageInfo
Returns specification for this message.
Sourcepub const fn message_id() -> u32
pub const fn message_id() -> u32
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 FlexifunctionBufferFunction
impl Clone for FlexifunctionBufferFunction
Source§fn clone(&self) -> FlexifunctionBufferFunction
fn clone(&self) -> FlexifunctionBufferFunction
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FlexifunctionBufferFunction
impl Debug for FlexifunctionBufferFunction
Source§impl Default for FlexifunctionBufferFunction
impl Default for FlexifunctionBufferFunction
Source§fn default() -> FlexifunctionBufferFunction
fn default() -> FlexifunctionBufferFunction
Source§impl<'de> Deserialize<'de> for FlexifunctionBufferFunction
impl<'de> Deserialize<'de> for FlexifunctionBufferFunction
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FlexifunctionBufferFunction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FlexifunctionBufferFunction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl From<FlexifunctionBufferFunction> for Matrixpilot
impl From<FlexifunctionBufferFunction> for Matrixpilot
Source§fn from(value: FlexifunctionBufferFunction) -> Matrixpilot
fn from(value: FlexifunctionBufferFunction) -> Matrixpilot
Source§impl MessageSpecStatic for FlexifunctionBufferFunction
impl MessageSpecStatic for FlexifunctionBufferFunction
Source§fn spec() -> MessageInfo
fn spec() -> MessageInfo
Source§fn message_id() -> u32
fn message_id() -> u32
ID.Source§fn min_supported_mavlink_version() -> MavLinkVersion
fn min_supported_mavlink_version() -> MavLinkVersion
Source§impl NamedType for FlexifunctionBufferFunction
impl NamedType for FlexifunctionBufferFunction
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 Serialize for FlexifunctionBufferFunction
impl Serialize for FlexifunctionBufferFunction
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Source§impl TryFrom<&Payload> for FlexifunctionBufferFunction
impl TryFrom<&Payload> for FlexifunctionBufferFunction
Source§impl Type for FlexifunctionBufferFunction
impl Type for FlexifunctionBufferFunction
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.