[][src]Trait step_dir::step_mode::StepMode

pub trait StepMode: Into<u16> + TryFrom<u16, Error = InvalidStepModeError> + Copy {
    type Iter: Iterator<Item = Self>;
    fn iter() -> Self::Iter;
}

Implemented for all step mode enums

Associated Types

type Iter: Iterator<Item = Self>[src]

The type of the iterator returned by StepMode::iter

Loading content...

Required methods

fn iter() -> Self::Iter[src]

Returns an iterator over all supported modes

Starts at the mode for configuring full steps and ends at the highest supported number of microsteps per step.

Loading content...

Implementors

impl StepMode for StepMode2[src]

type Iter = Iter2

impl StepMode for StepMode4[src]

type Iter = Iter4

impl StepMode for StepMode8[src]

type Iter = Iter8

impl StepMode for StepMode16[src]

type Iter = Iter16

impl StepMode for StepMode32[src]

type Iter = Iter32

impl StepMode for StepMode64[src]

type Iter = Iter64

impl StepMode for StepMode128[src]

type Iter = Iter128

impl StepMode for StepMode256[src]

type Iter = Iter256

Loading content...