#[repr(u8)]pub enum MicrostepResolution {
M256 = 0,
M128 = 1,
M64 = 2,
M32 = 3,
M16 = 4,
M8 = 5,
M4 = 6,
M2 = 7,
M1 = 8,
}Expand description
Microstep resolution setting.
Number of microsteps per full step.
Variants§
M256 = 0
256 microsteps per full step (native resolution)
M128 = 1
128 microsteps per full step
M64 = 2
64 microsteps per full step
M32 = 3
32 microsteps per full step
M16 = 4
16 microsteps per full step
M8 = 5
8 microsteps per full step
M4 = 6
4 microsteps per full step
M2 = 7
2 microsteps per full step (half step)
M1 = 8
Full step
Implementations§
Trait Implementations§
Source§impl Clone for MicrostepResolution
impl Clone for MicrostepResolution
Source§fn clone(&self) -> MicrostepResolution
fn clone(&self) -> MicrostepResolution
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MicrostepResolution
impl Debug for MicrostepResolution
Source§impl Default for MicrostepResolution
impl Default for MicrostepResolution
Source§fn default() -> MicrostepResolution
fn default() -> MicrostepResolution
Returns the “default value” for a type. Read more
Source§impl Format for MicrostepResolution
impl Format for MicrostepResolution
Source§impl PartialEq for MicrostepResolution
impl PartialEq for MicrostepResolution
impl Copy for MicrostepResolution
impl Eq for MicrostepResolution
impl StructuralPartialEq for MicrostepResolution
Auto Trait Implementations§
impl Freeze for MicrostepResolution
impl RefUnwindSafe for MicrostepResolution
impl Send for MicrostepResolution
impl Sync for MicrostepResolution
impl Unpin for MicrostepResolution
impl UnwindSafe for MicrostepResolution
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more