[][src]Struct mavlink::test::TEST_TYPES_DATA

pub struct TEST_TYPES_DATA {
    pub u64: u64,
    pub s64: i64,
    pub d: f64,
    pub u64_array: [u64; 3],
    pub s64_array: [i64; 3],
    pub d_array: [f64; 3],
    pub u32: u32,
    pub s32: i32,
    pub f: f32,
    pub u32_array: [u32; 3],
    pub s32_array: [i32; 3],
    pub f_array: [f32; 3],
    pub u16: u16,
    pub s16: i16,
    pub u16_array: [u16; 3],
    pub s16_array: [i16; 3],
    pub c: char,
    pub s: [char; 10],
    pub u8: u8,
    pub s8: i8,
    pub u8_array: [u8; 3],
    pub s8_array: [i8; 3],
}

id: 0 Test all field types.

Fields

u64: u64

uint64_t.

s64: i64

int64_t.

d: f64

double.

u64_array: [u64; 3]

uint64_t_array.

s64_array: [i64; 3]

int64_t_array.

d_array: [f64; 3]

double_array.

u32: u32

uint32_t.

s32: i32

int32_t.

f: f32

float.

u32_array: [u32; 3]

uint32_t_array.

s32_array: [i32; 3]

int32_t_array.

f_array: [f32; 3]

float_array.

u16: u16

uint16_t.

s16: i16

int16_t.

u16_array: [u16; 3]

uint16_t_array.

s16_array: [i16; 3]

int16_t_array.

c: char

char.

s: [char; 10]

string.

u8: u8

uint8_t.

s8: i8

int8_t.

u8_array: [u8; 3]

uint8_t_array.

s8_array: [i8; 3]

int8_t_array.

Implementations

impl TEST_TYPES_DATA[src]

pub const ENCODED_LEN: usize[src]

pub fn deser(
    version: MavlinkVersion,
    _input: &[u8]
) -> Result<Self, ParserError>
[src]

pub fn ser(&self) -> Vec<u8>[src]

Trait Implementations

impl Clone for TEST_TYPES_DATA[src]

impl Debug for TEST_TYPES_DATA[src]

impl Default for TEST_TYPES_DATA[src]

impl<'de> Deserialize<'de> for TEST_TYPES_DATA[src]

impl PartialEq<TEST_TYPES_DATA> for TEST_TYPES_DATA[src]

impl Serialize for TEST_TYPES_DATA[src]

impl StructuralPartialEq for TEST_TYPES_DATA[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.