Struct mavlink::python_array_test::MEMORY_VECT_DATA
source · pub struct MEMORY_VECT_DATA {
pub address: u16,
pub ver: u8,
pub mavtype: u8,
pub value: [i8; 32],
}
Available on crate feature
python_array_test
only.Expand description
id: 249 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..
Fields§
§address: u16
Starting address of the debug variables.
ver: u8
Version code of the type variable. 0=unknown, type ignored and assumed int16_t. 1=as below.
mavtype: u8
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]
Memory contents at specified address.
Implementations§
source§impl MEMORY_VECT_DATA
impl MEMORY_VECT_DATA
pub const ENCODED_LEN: usize = 36usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for MEMORY_VECT_DATA
impl Clone for MEMORY_VECT_DATA
source§fn clone(&self) -> MEMORY_VECT_DATA
fn clone(&self) -> MEMORY_VECT_DATA
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MEMORY_VECT_DATA
impl Debug for MEMORY_VECT_DATA
source§impl Default for MEMORY_VECT_DATA
impl Default for MEMORY_VECT_DATA
source§impl<'de> Deserialize<'de> for MEMORY_VECT_DATA
impl<'de> Deserialize<'de> for MEMORY_VECT_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 MEMORY_VECT_DATA
impl MessageData for MEMORY_VECT_DATA
const ID: u32 = 249u32
const NAME: &'static str = "MEMORY_VECT"
const EXTRA_CRC: u8 = 204u8
const ENCODED_LEN: usize = 36usize
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 MEMORY_VECT_DATA
impl PartialEq for MEMORY_VECT_DATA
source§impl Serialize for MEMORY_VECT_DATA
impl Serialize for MEMORY_VECT_DATA
impl StructuralPartialEq for MEMORY_VECT_DATA
Auto Trait Implementations§
impl Freeze for MEMORY_VECT_DATA
impl RefUnwindSafe for MEMORY_VECT_DATA
impl Send for MEMORY_VECT_DATA
impl Sync for MEMORY_VECT_DATA
impl Unpin for MEMORY_VECT_DATA
impl UnwindSafe for MEMORY_VECT_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)