[][src]Enum adafruit_motorkit::Motor

pub enum Motor {
    Motor1,
    Motor2,
    Motor3,
    Motor4,
    Stepper1,
    Stepper2,
}

An enumeration of all potential motors that can be controlled via the Motor HAT.

Variants

Motor1
Motor2
Motor3
Motor4
Stepper1
Stepper2

Trait Implementations

impl Debug for Motor[src]

impl Eq for Motor[src]

impl Hash for Motor[src]

impl PartialEq<Motor> for Motor[src]

impl StructuralEq for Motor[src]

impl StructuralPartialEq for Motor[src]

Auto Trait Implementations

impl RefUnwindSafe for Motor

impl Send for Motor

impl Sync for Motor

impl Unpin for Motor

impl UnwindSafe for Motor

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> From<T> for T[src]

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

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.