pub struct ExtendedSysState {
pub vtol_state: u8,
pub landed_state: u8,
}Expand description
EXTENDED_SYS_STATE: the VTOL and landed state of the vehicle.
Fields§
§vtol_state: u8§landed_state: u8Implementations§
Trait Implementations§
Source§impl Clone for ExtendedSysState
impl Clone for ExtendedSysState
Source§fn clone(&self) -> ExtendedSysState
fn clone(&self) -> ExtendedSysState
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 ExtendedSysState
Source§impl Debug for ExtendedSysState
impl Debug for ExtendedSysState
Source§impl Default for ExtendedSysState
impl Default for ExtendedSysState
Source§impl Message for ExtendedSysState
impl Message for ExtendedSysState
Source§const NAME: &'static str = "EXTENDED_SYS_STATE"
const NAME: &'static str = "EXTENDED_SYS_STATE"
The message name, such as
"HEARTBEAT", as used to derive CRC_EXTRA.Source§const CRC_EXTRA: u8 = 130
const CRC_EXTRA: u8 = 130
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 ExtendedSysState
impl PartialEq for ExtendedSysState
Source§fn eq(&self, other: &ExtendedSysState) -> bool
fn eq(&self, other: &ExtendedSysState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExtendedSysState
Auto Trait Implementations§
impl Freeze for ExtendedSysState
impl RefUnwindSafe for ExtendedSysState
impl Send for ExtendedSysState
impl Sync for ExtendedSysState
impl Unpin for ExtendedSysState
impl UnsafeUnpin for ExtendedSysState
impl UnwindSafe for ExtendedSysState
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