pub struct CommandLong {
pub param1: f32,
pub param2: f32,
pub param3: f32,
pub param4: f32,
pub param5: f32,
pub param6: f32,
pub param7: f32,
pub command: u16,
pub target_system: u8,
pub target_component: u8,
pub confirmation: u8,
}Expand description
COMMAND_LONG: a command for the vehicle to run, with up to seven float parameters.
Fields§
§param1: f32§param2: f32§param3: f32§param4: f32§param5: f32§param6: f32§param7: f32§command: u16§target_system: u8§target_component: u8§confirmation: u8Implementations§
Trait Implementations§
Source§impl Clone for CommandLong
impl Clone for CommandLong
Source§fn clone(&self) -> CommandLong
fn clone(&self) -> CommandLong
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 CommandLong
Source§impl Debug for CommandLong
impl Debug for CommandLong
Source§impl Default for CommandLong
impl Default for CommandLong
Source§impl Message for CommandLong
impl Message for CommandLong
Source§const NAME: &'static str = "COMMAND_LONG"
const NAME: &'static str = "COMMAND_LONG"
The message name, such as
"HEARTBEAT", as used to derive CRC_EXTRA.Source§const CRC_EXTRA: u8 = 152
const CRC_EXTRA: u8 = 152
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 CommandLong
impl PartialEq for CommandLong
Source§fn eq(&self, other: &CommandLong) -> bool
fn eq(&self, other: &CommandLong) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CommandLong
Auto Trait Implementations§
impl Freeze for CommandLong
impl RefUnwindSafe for CommandLong
impl Send for CommandLong
impl Sync for CommandLong
impl Unpin for CommandLong
impl UnsafeUnpin for CommandLong
impl UnwindSafe for CommandLong
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