[][src]Enum toio::proto::MoveType

#[repr(u8)]pub enum MoveType {
    Curve,
    ForwardOnly,
    Straight,
}

The type of the movement.

Variants

Curve

The cube goes to the target position, spinning accordingly.

ForwardOnly

The cube goes to the target position without going backward.

Straight

The cube spins first and then goes straight to the target position.

Trait Implementations

impl Clone for MoveType[src]

impl Copy for MoveType[src]

impl Debug for MoveType[src]

impl<'de> Deserialize<'de> for MoveType[src]

impl Eq for MoveType[src]

impl Hash for MoveType[src]

impl PartialEq<MoveType> for MoveType[src]

impl Serialize for MoveType[src]

impl StructuralEq for MoveType[src]

impl StructuralPartialEq for MoveType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.