Enum multiwii_serial_protocol::structs::MspRcChannel
[−]
[src]
pub enum MspRcChannel { Roll, Pitch, Yaw, Throttle, Aux1, Aux2, Aux3, Aux4, Aux5, Aux6, Aux7, Aux8, Aux9, Aux10, Aux11, Aux12, Aux13, Aux14, Aux15, Aux16, }
Variants
Roll
Ailerons
Pitch
Elevators
Yaw
Rudder
Throttle
Aux1
Aux2
Aux3
Aux4
Aux5
Aux6
Aux7
Aux8
Aux9
Aux10
Aux11
Aux12
Aux13
Aux14
Aux15
Aux16
Trait Implementations
impl PrimitiveEnum<u8> for MspRcChannel
[src]
fn from_primitive(val: u8) -> Option<Self>
[src]
Convert from a primitive, might fail.
fn to_primitive(&self) -> u8
[src]
Convert to a primitive value.
fn to_display_str(&self) -> &'static str
[src]
Display value, same as the name of a particular variant.
fn from_str(s: &str) -> Option<Self>
[src]
Convert from a string value representing the variant. Case sensitive.
fn from_str_lower(s: &str) -> Option<Self>
[src]
Convert from a string value representing the variant. Lowercase.
fn all_variants() -> &'static [Self]
[src]
A list all possible string variants.
impl Debug for MspRcChannel
[src]
impl Copy for MspRcChannel
[src]
impl Clone for MspRcChannel
[src]
fn clone(&self) -> MspRcChannel
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more