[][src]Enum pololu_smc::command::MotorLimitKind

pub enum MotorLimitKind {
    MaxSpeed,
    MaxAcc,
    MaxDec,
    BrakeDuration,
    MaxSpeedFwd,
    MaxAccFwd,
    MaxDecFwd,
    BrakeDurationFwd,
    MaxSpeedRev,
    MaxAccRev,
    MaxDecRev,
    BrakeDurationRev,
}

All the various ways to configure a motor limit.

Variants

MaxSpeed

Max speed, both forward and reverse.

MaxAcc

Max acceleration, both forward and reverse.

MaxDec

Max deceleration, both forward and reverse.

BrakeDuration

Brake duration, both forward and reverse.

MaxSpeedFwd

Max speed forward.

MaxAccFwd

Max acceleration forward.

MaxDecFwd

Max deceleration forward.

BrakeDurationFwd

Brake duration forward.

MaxSpeedRev

Max speed reverse.

MaxAccRev

Max acceleration reverse.

MaxDecRev

Max deceleration reverse.

BrakeDurationRev

Brake duration reverse.

Trait Implementations

impl Clone for MotorLimitKind[src]

impl Copy for MotorLimitKind[src]

impl Debug for MotorLimitKind[src]

impl Eq for MotorLimitKind[src]

impl Hash for MotorLimitKind[src]

impl Ord for MotorLimitKind[src]

impl PartialEq<MotorLimitKind> for MotorLimitKind[src]

impl PartialOrd<MotorLimitKind> for MotorLimitKind[src]

impl StructuralEq for MotorLimitKind[src]

impl StructuralPartialEq for MotorLimitKind[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> 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.