pub struct NAMED_VALUE_FLOAT_DATA {
pub time_boot_ms: u32,
pub value: f32,
pub name: [u8; 10],
}
Available on crate feature
python_array_test
only.Expand description
id: 251 Send a key-value pair as float. 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§
§time_boot_ms: u32
Timestamp (time since system boot)..
value: f32
Floating point value.
name: [u8; 10]
Name of the debug variable.
Implementations§
Source§impl NAMED_VALUE_FLOAT_DATA
impl NAMED_VALUE_FLOAT_DATA
pub const ENCODED_LEN: usize = 18usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for NAMED_VALUE_FLOAT_DATA
impl Clone for NAMED_VALUE_FLOAT_DATA
Source§fn clone(&self) -> NAMED_VALUE_FLOAT_DATA
fn clone(&self) -> NAMED_VALUE_FLOAT_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 NAMED_VALUE_FLOAT_DATA
impl Debug for NAMED_VALUE_FLOAT_DATA
Source§impl Default for NAMED_VALUE_FLOAT_DATA
impl Default for NAMED_VALUE_FLOAT_DATA
Source§impl<'de> Deserialize<'de> for NAMED_VALUE_FLOAT_DATA
impl<'de> Deserialize<'de> for NAMED_VALUE_FLOAT_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 NAMED_VALUE_FLOAT_DATA
impl MessageData for NAMED_VALUE_FLOAT_DATA
const ID: u32 = 251u32
const NAME: &'static str = "NAMED_VALUE_FLOAT"
const EXTRA_CRC: u8 = 170u8
const ENCODED_LEN: usize = 18usize
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 NAMED_VALUE_FLOAT_DATA
impl PartialEq for NAMED_VALUE_FLOAT_DATA
Source§impl Serialize for NAMED_VALUE_FLOAT_DATA
impl Serialize for NAMED_VALUE_FLOAT_DATA
impl StructuralPartialEq for NAMED_VALUE_FLOAT_DATA
Auto Trait Implementations§
impl Freeze for NAMED_VALUE_FLOAT_DATA
impl RefUnwindSafe for NAMED_VALUE_FLOAT_DATA
impl Send for NAMED_VALUE_FLOAT_DATA
impl Sync for NAMED_VALUE_FLOAT_DATA
impl Unpin for NAMED_VALUE_FLOAT_DATA
impl UnwindSafe for NAMED_VALUE_FLOAT_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