pub struct ParamValue {
pub param_value: f32,
pub param_count: u16,
pub param_index: u16,
pub param_id: [u8; 16],
pub param_type: u8,
}Expand description
PARAM_VALUE: one onboard parameter’s value, type, and position in the set.
Fields§
§param_value: f32§param_count: u16§param_index: u16§param_id: [u8; 16]§param_type: u8Implementations§
Trait Implementations§
Source§impl Clone for ParamValue
impl Clone for ParamValue
Source§fn clone(&self) -> ParamValue
fn clone(&self) -> ParamValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ParamValue
Source§impl Debug for ParamValue
impl Debug for ParamValue
Source§impl Default for ParamValue
impl Default for ParamValue
Source§impl Message for ParamValue
impl Message for ParamValue
Source§const NAME: &'static str = "PARAM_VALUE"
const NAME: &'static str = "PARAM_VALUE"
The message name, such as
"HEARTBEAT", as used to derive CRC_EXTRA.Source§const CRC_EXTRA: u8 = 220
const CRC_EXTRA: u8 = 220
The
CRC_EXTRA seed folded into the checksum of a frame carrying this message.Source§const BASE_FIELDS: &'static [(&'static str, &'static str, u8)]
const BASE_FIELDS: &'static [(&'static str, &'static str, u8)]
The base fields in wire order as
(type, name, array_len), the input from which
CRC_EXTRA is derived and against which it is verified.Source§const DESCRIPTOR: &'static MessageDescriptor<'static>
const DESCRIPTOR: &'static MessageDescriptor<'static>
The message’s shape as data: the runtime counterpart of this type’s fields, for a
caller reading and writing by name rather than through the struct.
Source§impl PartialEq for ParamValue
impl PartialEq for ParamValue
Source§fn eq(&self, other: &ParamValue) -> bool
fn eq(&self, other: &ParamValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParamValue
Auto Trait Implementations§
impl Freeze for ParamValue
impl RefUnwindSafe for ParamValue
impl Send for ParamValue
impl Sync for ParamValue
impl Unpin for ParamValue
impl UnsafeUnpin for ParamValue
impl UnwindSafe for ParamValue
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