Struct mavlink::cubepilot::ATTITUDE_QUATERNION_DATA
source · pub struct ATTITUDE_QUATERNION_DATA {
pub time_boot_ms: u32,
pub q1: f32,
pub q2: f32,
pub q3: f32,
pub q4: f32,
pub rollspeed: f32,
pub pitchspeed: f32,
pub yawspeed: f32,
}
Fields§
§time_boot_ms: u32
§q1: f32
§q2: f32
§q3: f32
§q4: f32
§rollspeed: f32
§pitchspeed: f32
§yawspeed: f32
Implementations§
source§impl ATTITUDE_QUATERNION_DATA
impl ATTITUDE_QUATERNION_DATA
pub const ENCODED_LEN: usize = 32usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for ATTITUDE_QUATERNION_DATA
impl Clone for ATTITUDE_QUATERNION_DATA
source§fn clone(&self) -> ATTITUDE_QUATERNION_DATA
fn clone(&self) -> ATTITUDE_QUATERNION_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 ATTITUDE_QUATERNION_DATA
impl Debug for ATTITUDE_QUATERNION_DATA
source§impl Default for ATTITUDE_QUATERNION_DATA
impl Default for ATTITUDE_QUATERNION_DATA
source§impl<'de> Deserialize<'de> for ATTITUDE_QUATERNION_DATA
impl<'de> Deserialize<'de> for ATTITUDE_QUATERNION_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 ATTITUDE_QUATERNION_DATA
impl MessageData for ATTITUDE_QUATERNION_DATA
type Message = MavMessage
const ID: u32 = 31u32
const NAME: &'static str = "ATTITUDE_QUATERNION"
const EXTRA_CRC: u8 = 246u8
const ENCODED_LEN: usize = 32usize
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for ATTITUDE_QUATERNION_DATA
impl PartialEq for ATTITUDE_QUATERNION_DATA
source§fn eq(&self, other: &ATTITUDE_QUATERNION_DATA) -> bool
fn eq(&self, other: &ATTITUDE_QUATERNION_DATA) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ATTITUDE_QUATERNION_DATA
impl Serialize for ATTITUDE_QUATERNION_DATA
impl StructuralPartialEq for ATTITUDE_QUATERNION_DATA
Auto Trait Implementations§
impl Freeze for ATTITUDE_QUATERNION_DATA
impl RefUnwindSafe for ATTITUDE_QUATERNION_DATA
impl Send for ATTITUDE_QUATERNION_DATA
impl Sync for ATTITUDE_QUATERNION_DATA
impl Unpin for ATTITUDE_QUATERNION_DATA
impl UnwindSafe for ATTITUDE_QUATERNION_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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)