Struct open_protocol::types::ControlInfo
[−]
[src]
pub struct ControlInfo { pub movement_mode: MovementMode, pub extra: u8, }
Fields
movement_mode: MovementMode
extra: u8
Methods
impl ControlInfo
[src]
fn control_device(&self) -> ControlDevice
fn onboard_requested(&self) -> bool
fn rc_enabled(&self) -> bool
Trait Implementations
impl Debug for ControlInfo
[src]
impl Copy for ControlInfo
[src]
impl Clone for ControlInfo
[src]
fn clone(&self) -> ControlInfo
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 ControlInfo
[src]
fn eq(&self, __arg_0: &ControlInfo) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ControlInfo) -> bool
This method tests for !=
.
impl Default for ControlInfo
[src]
fn default() -> ControlInfo
Returns the "default value" for a type. Read more