pub struct RcChannels {Show 21 fields
pub time_boot_ms: u32,
pub chan1_raw: u16,
pub chan2_raw: u16,
pub chan3_raw: u16,
pub chan4_raw: u16,
pub chan5_raw: u16,
pub chan6_raw: u16,
pub chan7_raw: u16,
pub chan8_raw: u16,
pub chan9_raw: u16,
pub chan10_raw: u16,
pub chan11_raw: u16,
pub chan12_raw: u16,
pub chan13_raw: u16,
pub chan14_raw: u16,
pub chan15_raw: u16,
pub chan16_raw: u16,
pub chan17_raw: u16,
pub chan18_raw: u16,
pub chancount: u8,
pub rssi: u8,
}Expand description
RC_CHANNELS: the raw values of up to eighteen RC input channels.
Fields§
§time_boot_ms: u32§chan1_raw: u16§chan2_raw: u16§chan3_raw: u16§chan4_raw: u16§chan5_raw: u16§chan6_raw: u16§chan7_raw: u16§chan8_raw: u16§chan9_raw: u16§chan10_raw: u16§chan11_raw: u16§chan12_raw: u16§chan13_raw: u16§chan14_raw: u16§chan15_raw: u16§chan16_raw: u16§chan17_raw: u16§chan18_raw: u16§chancount: u8§rssi: u8Implementations§
Trait Implementations§
Source§impl Clone for RcChannels
impl Clone for RcChannels
Source§fn clone(&self) -> RcChannels
fn clone(&self) -> RcChannels
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 RcChannels
Source§impl Debug for RcChannels
impl Debug for RcChannels
Source§impl Default for RcChannels
impl Default for RcChannels
Source§impl Message for RcChannels
impl Message for RcChannels
Source§const NAME: &'static str = "RC_CHANNELS"
const NAME: &'static str = "RC_CHANNELS"
The message name, such as
"HEARTBEAT", as used to derive CRC_EXTRA.Source§const CRC_EXTRA: u8 = 118
const CRC_EXTRA: u8 = 118
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 RcChannels
impl PartialEq for RcChannels
Source§fn eq(&self, other: &RcChannels) -> bool
fn eq(&self, other: &RcChannels) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RcChannels
Auto Trait Implementations§
impl Freeze for RcChannels
impl RefUnwindSafe for RcChannels
impl Send for RcChannels
impl Sync for RcChannels
impl Unpin for RcChannels
impl UnsafeUnpin for RcChannels
impl UnwindSafe for RcChannels
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