Enum drv8825::step_mode::StepMode16[][src]

pub enum StepMode16 {
    Full,
    M2,
    M4,
    M8,
    M16,
}

Defines the microstepping mode for drivers with a resolution of up to 16 microsteps

Variants

Full

Full steps

M2

2 microsteps per full step

M4

4 microsteps per full step

M8

8 microsteps per full step

M16

16 microsteps per full step

Trait Implementations

impl Clone for StepMode16[src]

impl Copy for StepMode16[src]

impl Debug for StepMode16[src]

impl Eq for StepMode16[src]

impl Ord for StepMode16[src]

impl PartialEq<StepMode16> for StepMode16[src]

impl PartialOrd<StepMode16> for StepMode16[src]

impl StepMode for StepMode16[src]

type Iter = Iter16

The type of the iterator returned by StepMode::iter

impl StructuralEq for StepMode16[src]

impl StructuralPartialEq for StepMode16[src]

impl TryFrom<u16> for StepMode16[src]

type Error = InvalidStepModeError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl Send for StepMode16

impl Sync for StepMode16

impl Unpin for StepMode16

Blanket Implementations

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

impl<T> Az for T[src]

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

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

impl<T> CheckedAs for T[src]

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

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

impl<Src, Dst> LosslessTryInto<Dst> for Src where
    Dst: LosslessTryFrom<Src>, 
[src]

impl<Src, Dst> LossyInto<Dst> for Src where
    Dst: LossyFrom<Src>, 
[src]

impl<T> OverflowingAs for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatingAs for 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.

impl<T> UnwrappedAs for T[src]

impl<T> WrappingAs for T[src]