pub struct FRSKY_PASSTHROUGH_ARRAY_DATA {
pub time_boot_ms: u32,
pub count: u8,
pub packet_buf: [u8; 240],
}
Available on crate feature
storm32
only.Expand description
id: 60040 Frsky SPort passthrough multi packet container.
Fields§
§time_boot_ms: u32
Timestamp (time since system boot).
count: u8
Number of passthrough packets in this message.
packet_buf: [u8; 240]
Passthrough packet buffer. A packet has 6 bytes: uint16_t id + uint32_t data. The array has space for 40 packets.
Implementations§
Source§impl FRSKY_PASSTHROUGH_ARRAY_DATA
impl FRSKY_PASSTHROUGH_ARRAY_DATA
pub const ENCODED_LEN: usize = 245usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for FRSKY_PASSTHROUGH_ARRAY_DATA
impl Clone for FRSKY_PASSTHROUGH_ARRAY_DATA
Source§fn clone(&self) -> FRSKY_PASSTHROUGH_ARRAY_DATA
fn clone(&self) -> FRSKY_PASSTHROUGH_ARRAY_DATA
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FRSKY_PASSTHROUGH_ARRAY_DATA
impl Debug for FRSKY_PASSTHROUGH_ARRAY_DATA
Source§impl<'de> Deserialize<'de> for FRSKY_PASSTHROUGH_ARRAY_DATA
impl<'de> Deserialize<'de> for FRSKY_PASSTHROUGH_ARRAY_DATA
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 MessageData for FRSKY_PASSTHROUGH_ARRAY_DATA
impl MessageData for FRSKY_PASSTHROUGH_ARRAY_DATA
const ID: u32 = 60_040u32
const NAME: &'static str = "FRSKY_PASSTHROUGH_ARRAY"
const EXTRA_CRC: u8 = 156u8
const ENCODED_LEN: usize = 245usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
Source§impl PartialEq for FRSKY_PASSTHROUGH_ARRAY_DATA
impl PartialEq for FRSKY_PASSTHROUGH_ARRAY_DATA
Source§fn eq(&self, other: &FRSKY_PASSTHROUGH_ARRAY_DATA) -> bool
fn eq(&self, other: &FRSKY_PASSTHROUGH_ARRAY_DATA) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for FRSKY_PASSTHROUGH_ARRAY_DATA
Auto Trait Implementations§
impl Freeze for FRSKY_PASSTHROUGH_ARRAY_DATA
impl RefUnwindSafe for FRSKY_PASSTHROUGH_ARRAY_DATA
impl Send for FRSKY_PASSTHROUGH_ARRAY_DATA
impl Sync for FRSKY_PASSTHROUGH_ARRAY_DATA
impl Unpin for FRSKY_PASSTHROUGH_ARRAY_DATA
impl UnwindSafe for FRSKY_PASSTHROUGH_ARRAY_DATA
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