pub struct BasicConfiguration {
pub standstill_current: u16,
pub motor_run_current: u16,
pub standstill_delay_time: u16,
pub power_down_time: u16,
pub stealth_threshold: u16,
pub coolstep_threshold: u16,
pub classic_threshold: u16,
pub high_velocity_chopper_mode: bool,
}
Fields
standstill_current: u16
motor_run_current: u16
standstill_delay_time: u16
power_down_time: u16
stealth_threshold: u16
coolstep_threshold: u16
classic_threshold: u16
high_velocity_chopper_mode: bool
Trait Implementations
sourceimpl Clone for BasicConfiguration
impl Clone for BasicConfiguration
sourcefn clone(&self) -> BasicConfiguration
fn clone(&self) -> BasicConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BasicConfiguration
impl Debug for BasicConfiguration
sourceimpl Default for BasicConfiguration
impl Default for BasicConfiguration
sourcefn default() -> BasicConfiguration
fn default() -> BasicConfiguration
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for BasicConfiguration
impl FromByteSlice for BasicConfiguration
sourcefn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
sourcefn from_le_bytes(bytes: &[u8]) -> BasicConfiguration
fn from_le_bytes(bytes: &[u8]) -> BasicConfiguration
Deserialize the implementing type from a byte slice.
sourceimpl Hash for BasicConfiguration
impl Hash for BasicConfiguration
sourceimpl PartialEq<BasicConfiguration> for BasicConfiguration
impl PartialEq<BasicConfiguration> for BasicConfiguration
sourcefn eq(&self, other: &BasicConfiguration) -> bool
fn eq(&self, other: &BasicConfiguration) -> bool
impl Copy for BasicConfiguration
impl Eq for BasicConfiguration
impl StructuralEq for BasicConfiguration
impl StructuralPartialEq for BasicConfiguration
Auto Trait Implementations
impl RefUnwindSafe for BasicConfiguration
impl Send for BasicConfiguration
impl Sync for BasicConfiguration
impl Unpin for BasicConfiguration
impl UnwindSafe for BasicConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more