pub struct MissionItemInt {}Expand description
MISSION_ITEM_INT: one mission item, with integer-encoded position.
Fields§
§param1: f32§param2: f32§param3: f32§param4: f32§x: i32§y: i32§z: f32§seq: u16§command: u16§target_system: u8§target_component: u8§frame: u8§current: u8§autocontinue: u8§mission_type: u8Implementations§
Trait Implementations§
Source§impl Clone for MissionItemInt
impl Clone for MissionItemInt
Source§fn clone(&self) -> MissionItemInt
fn clone(&self) -> MissionItemInt
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 MissionItemInt
Source§impl Debug for MissionItemInt
impl Debug for MissionItemInt
Source§impl Default for MissionItemInt
impl Default for MissionItemInt
Source§impl Message for MissionItemInt
impl Message for MissionItemInt
Source§const NAME: &'static str = "MISSION_ITEM_INT"
const NAME: &'static str = "MISSION_ITEM_INT"
The message name, such as
"HEARTBEAT", as used to derive CRC_EXTRA.Source§const CRC_EXTRA: u8 = 38
const CRC_EXTRA: u8 = 38
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 MissionItemInt
impl PartialEq for MissionItemInt
Source§fn eq(&self, other: &MissionItemInt) -> bool
fn eq(&self, other: &MissionItemInt) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MissionItemInt
Auto Trait Implementations§
impl Freeze for MissionItemInt
impl RefUnwindSafe for MissionItemInt
impl Send for MissionItemInt
impl Sync for MissionItemInt
impl Unpin for MissionItemInt
impl UnsafeUnpin for MissionItemInt
impl UnwindSafe for MissionItemInt
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