Struct open_protocol::types::VirtualRcData
[−]
[src]
pub struct VirtualRcData {
pub roll: u32,
pub pitch: u32,
pub throttle: u32,
pub yaw: u32,
pub gear: u32,
pub mode: u32,
// some fields omitted
}Fields
roll: u32
pitch: u32
throttle: u32
yaw: u32
gear: u32
mode: u32
Methods
impl VirtualRcData[src]
fn new() -> VirtualRcData
fn roll(&mut self, v: u32) -> &mut Self
fn pitch(&mut self, v: u32) -> &mut Self
fn throttle(&mut self, v: u32) -> &mut Self
fn yaw(&mut self, v: u32) -> &mut Self
fn gear(&mut self, v: u32) -> &mut Self
fn mode(&mut self, v: u32) -> &mut Self
Trait Implementations
impl Debug for VirtualRcData[src]
impl Copy for VirtualRcData[src]
impl Clone for VirtualRcData[src]
fn clone(&self) -> VirtualRcData
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 VirtualRcData[src]
fn eq(&self, __arg_0: &VirtualRcData) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &VirtualRcData) -> bool
This method tests for !=.