Struct open_protocol::types::RcData
[−]
[src]
pub struct RcData {
pub roll: i16,
pub pitch: i16,
pub yaw: i16,
pub throttle: i16,
pub mode: RcMode,
pub gear: RcGear,
}Fields
roll: i16
pitch: i16
yaw: i16
throttle: i16
mode: RcMode
gear: RcGear
Methods
impl RcData[src]
Trait Implementations
impl Debug for RcData[src]
impl Copy for RcData[src]
impl Clone for RcData[src]
fn clone(&self) -> RcData
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for RcData[src]
fn eq(&self, __arg_0: &RcData) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &RcData) -> bool
This method tests for !=.
impl Default for RcData[src]
impl FromBytes for RcData[src]
fn read_bytes(bytes: &mut Cursor<&[u8]>) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
impl Display for RcData[src]
impl Into<VirtualRcData> for RcData[src]
fn into(self) -> VirtualRcData
Performs the conversion.