pub struct MissionCurrent {
pub seq: u16,
}Expand description
MISSION_CURRENT: the sequence number of the mission item the vehicle is running.
Fields§
§seq: u16Implementations§
Trait Implementations§
Source§impl Clone for MissionCurrent
impl Clone for MissionCurrent
Source§fn clone(&self) -> MissionCurrent
fn clone(&self) -> MissionCurrent
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 MissionCurrent
Source§impl Debug for MissionCurrent
impl Debug for MissionCurrent
Source§impl Default for MissionCurrent
impl Default for MissionCurrent
Source§impl Message for MissionCurrent
impl Message for MissionCurrent
Source§const NAME: &'static str = "MISSION_CURRENT"
const NAME: &'static str = "MISSION_CURRENT"
The message name, such as
"HEARTBEAT", as used to derive CRC_EXTRA.Source§const CRC_EXTRA: u8 = 28
const CRC_EXTRA: u8 = 28
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 MissionCurrent
impl PartialEq for MissionCurrent
Source§fn eq(&self, other: &MissionCurrent) -> bool
fn eq(&self, other: &MissionCurrent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MissionCurrent
Auto Trait Implementations§
impl Freeze for MissionCurrent
impl RefUnwindSafe for MissionCurrent
impl Send for MissionCurrent
impl Sync for MissionCurrent
impl Unpin for MissionCurrent
impl UnsafeUnpin for MissionCurrent
impl UnwindSafe for MissionCurrent
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