[−][src]Trait accel_stepper::Device
An interface to the stepper motor.
Associated Types
type Error
The type of error that may be encountered when taking a step.
Use !
(or void::Void
on stable) if stepping can never fail.
Required methods
fn step(&mut self, ctx: &StepContext) -> Result<(), Self::Error>
Implementations on Foreign Types
impl<'a, D: Device> Device for &'a mut D
[src]
Loading content...
Implementors
impl<Step, Direction, E> Device for StepAndDirection<Step, Direction> where
Step: OutputPin<Error = E>,
Direction: OutputPin<Error = E>,
[src]
Step: OutputPin<Error = E>,
Direction: OutputPin<Error = E>,