Struct mavlink::common::EXTENDED_SYS_STATE_DATA
source · pub struct EXTENDED_SYS_STATE_DATA {
pub vtol_state: MavVtolState,
pub landed_state: MavLandedState,
}
Available on crate feature
common
only.Expand description
id: 245 Provides state for additional features.
Fields§
§vtol_state: MavVtolState
The VTOL state if applicable. Is set to MAV_VTOL_STATE_UNDEFINED if UAV is not in VTOL configuration..
landed_state: MavLandedState
The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown..
Implementations§
source§impl EXTENDED_SYS_STATE_DATA
impl EXTENDED_SYS_STATE_DATA
pub const ENCODED_LEN: usize = 2usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for EXTENDED_SYS_STATE_DATA
impl Clone for EXTENDED_SYS_STATE_DATA
source§fn clone(&self) -> EXTENDED_SYS_STATE_DATA
fn clone(&self) -> EXTENDED_SYS_STATE_DATA
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EXTENDED_SYS_STATE_DATA
impl Debug for EXTENDED_SYS_STATE_DATA
source§impl Default for EXTENDED_SYS_STATE_DATA
impl Default for EXTENDED_SYS_STATE_DATA
source§impl<'de> Deserialize<'de> for EXTENDED_SYS_STATE_DATA
impl<'de> Deserialize<'de> for EXTENDED_SYS_STATE_DATA
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl MessageData for EXTENDED_SYS_STATE_DATA
impl MessageData for EXTENDED_SYS_STATE_DATA
const ID: u32 = 245u32
const NAME: &'static str = "EXTENDED_SYS_STATE"
const EXTRA_CRC: u8 = 130u8
const ENCODED_LEN: usize = 2usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for EXTENDED_SYS_STATE_DATA
impl PartialEq for EXTENDED_SYS_STATE_DATA
source§impl Serialize for EXTENDED_SYS_STATE_DATA
impl Serialize for EXTENDED_SYS_STATE_DATA
impl StructuralPartialEq for EXTENDED_SYS_STATE_DATA
Auto Trait Implementations§
impl Freeze for EXTENDED_SYS_STATE_DATA
impl RefUnwindSafe for EXTENDED_SYS_STATE_DATA
impl Send for EXTENDED_SYS_STATE_DATA
impl Sync for EXTENDED_SYS_STATE_DATA
impl Unpin for EXTENDED_SYS_STATE_DATA
impl UnwindSafe for EXTENDED_SYS_STATE_DATA
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)