pub struct CoolstepConfiguration {
pub minimum_stallguard_value: u8,
pub maximum_stallguard_value: u8,
pub current_up_step_width: u8,
pub current_down_step_width: u8,
pub minimum_current: u8,
pub stallguard_threshold_value: i8,
pub stallguard_mode: u8,
}
Fields§
§minimum_stallguard_value: u8
§maximum_stallguard_value: u8
§current_up_step_width: u8
§current_down_step_width: u8
§minimum_current: u8
§stallguard_threshold_value: i8
§stallguard_mode: u8
Trait Implementations§
source§impl Clone for CoolstepConfiguration
impl Clone for CoolstepConfiguration
source§fn clone(&self) -> CoolstepConfiguration
fn clone(&self) -> CoolstepConfiguration
Returns a copy 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 CoolstepConfiguration
impl Debug for CoolstepConfiguration
source§impl Default for CoolstepConfiguration
impl Default for CoolstepConfiguration
source§fn default() -> CoolstepConfiguration
fn default() -> CoolstepConfiguration
Returns the “default value” for a type. Read more
source§impl FromByteSlice for CoolstepConfiguration
impl FromByteSlice for CoolstepConfiguration
source§fn 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.
source§fn from_le_byte_slice(bytes: &[u8]) -> CoolstepConfiguration
fn from_le_byte_slice(bytes: &[u8]) -> CoolstepConfiguration
Deserialize the implementing type from a byte slice.
source§impl Hash for CoolstepConfiguration
impl Hash for CoolstepConfiguration
source§impl PartialEq for CoolstepConfiguration
impl PartialEq for CoolstepConfiguration
source§fn eq(&self, other: &CoolstepConfiguration) -> bool
fn eq(&self, other: &CoolstepConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CoolstepConfiguration
impl Eq for CoolstepConfiguration
impl StructuralPartialEq for CoolstepConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for CoolstepConfiguration
impl Send for CoolstepConfiguration
impl Sync for CoolstepConfiguration
impl Unpin for CoolstepConfiguration
impl UnwindSafe for CoolstepConfiguration
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