Enum e_drone::system::FlightEvent [−][src]
#[repr(u8)] pub enum FlightEvent {}Show variants
None, Stop, Takeoff, Landing, Reverse, FlipFront, FlipRear, FlipLeft, FlipRight, Return, Shot, UnderAttack, ResetHeading,
Variants
Implementations
impl FlightEvent
[src]
impl FlightEvent
[src]pub fn from_u8(data_u8: u8) -> FlightEvent
[src]
Trait Implementations
impl Clone for FlightEvent
[src]
impl Clone for FlightEvent
[src]fn clone(&self) -> FlightEvent
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FlightEvent
[src]
impl Copy for FlightEvent
[src]impl Eq for FlightEvent
[src]
impl Eq for FlightEvent
[src]impl PartialEq<FlightEvent> for FlightEvent
[src]
impl PartialEq<FlightEvent> for FlightEvent
[src]impl StructuralEq for FlightEvent
[src]
impl StructuralEq for FlightEvent
[src]impl StructuralPartialEq for FlightEvent
[src]
impl StructuralPartialEq for FlightEvent
[src]impl TryFrom<u8> for FlightEvent
[src]
impl TryFrom<u8> for FlightEvent
[src]type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
fn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
[src]
impl TryFromPrimitive for FlightEvent
[src]
impl TryFromPrimitive for FlightEvent
[src]type Primitive = u8
const NAME: &'static str
[src]
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
[src]
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations
impl RefUnwindSafe for FlightEvent
impl RefUnwindSafe for FlightEvent
impl Send for FlightEvent
impl Send for FlightEvent
impl Sync for FlightEvent
impl Sync for FlightEvent
impl Unpin for FlightEvent
impl Unpin for FlightEvent
impl UnwindSafe for FlightEvent
impl UnwindSafe for FlightEvent