Struct mavlink::test::TEST_TYPES_DATA
source · pub struct TEST_TYPES_DATA {Show 22 fields
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: u8,
pub s: [u8; 10],
pub u8: u8,
pub s8: i8,
pub u8_array: [u8; 3],
pub s8_array: [i8; 3],
}
Available on crate feature
test
only.Expand description
id: 17000 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: u8
char.
s: [u8; 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§
source§impl TEST_TYPES_DATA
impl TEST_TYPES_DATA
pub const ENCODED_LEN: usize = 179usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for TEST_TYPES_DATA
impl Clone for TEST_TYPES_DATA
source§fn clone(&self) -> TEST_TYPES_DATA
fn clone(&self) -> TEST_TYPES_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 TEST_TYPES_DATA
impl Debug for TEST_TYPES_DATA
source§impl Default for TEST_TYPES_DATA
impl Default for TEST_TYPES_DATA
source§impl<'de> Deserialize<'de> for TEST_TYPES_DATA
impl<'de> Deserialize<'de> for TEST_TYPES_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 TEST_TYPES_DATA
impl MessageData for TEST_TYPES_DATA
const ID: u32 = 17_000u32
const NAME: &'static str = "TEST_TYPES"
const EXTRA_CRC: u8 = 103u8
const ENCODED_LEN: usize = 179usize
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 TEST_TYPES_DATA
impl PartialEq for TEST_TYPES_DATA
source§impl Serialize for TEST_TYPES_DATA
impl Serialize for TEST_TYPES_DATA
impl StructuralPartialEq for TEST_TYPES_DATA
Auto Trait Implementations§
impl Freeze for TEST_TYPES_DATA
impl RefUnwindSafe for TEST_TYPES_DATA
impl Send for TEST_TYPES_DATA
impl Sync for TEST_TYPES_DATA
impl Unpin for TEST_TYPES_DATA
impl UnwindSafe for TEST_TYPES_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
)