Struct mavlink::common::NAMED_VALUE_FLOAT_DATA
source · pub struct NAMED_VALUE_FLOAT_DATA {
pub time_boot_ms: u32,
pub value: f32,
pub name: [u8; 10],
}
Available on crate feature
common
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
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
)