Enum e_drone::system::Rotation [−][src]
#[repr(u8)] pub enum Rotation { None, Clockwise, Counterclockwise, }
Variants
Implementations
Trait Implementations
impl StructuralEq for Rotation
[src]
impl StructuralEq for Rotation
[src]impl StructuralPartialEq for Rotation
[src]
impl StructuralPartialEq for Rotation
[src]impl TryFrom<u8> for Rotation
[src]
impl TryFrom<u8> for Rotation
[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 Rotation
[src]
impl TryFromPrimitive for Rotation
[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 Rotation
impl RefUnwindSafe for Rotation
impl UnwindSafe for Rotation
impl UnwindSafe for Rotation