Struct mavlink::ardupilotmega::RPM_DATA
source · pub struct RPM_DATA {
pub rpm1: f32,
pub rpm2: f32,
}
Available on crate feature
ardupilotmega
only.Expand description
id: 226 RPM sensor output..
Fields§
§rpm1: f32
RPM Sensor1..
rpm2: f32
RPM Sensor2..
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for RPM_DATA
impl<'de> Deserialize<'de> for RPM_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 RPM_DATA
impl MessageData for RPM_DATA
const ID: u32 = 226u32
const NAME: &'static str = "RPM"
const EXTRA_CRC: u8 = 207u8
const ENCODED_LEN: usize = 8usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
impl StructuralPartialEq for RPM_DATA
Auto Trait Implementations§
impl Freeze for RPM_DATA
impl RefUnwindSafe for RPM_DATA
impl Send for RPM_DATA
impl Sync for RPM_DATA
impl Unpin for RPM_DATA
impl UnwindSafe for RPM_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
)