[][src]Enum step_dir::step_mode::StepMode16

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

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.