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
sourceimpl Clone for CoolstepConfiguration
impl Clone for CoolstepConfiguration
sourcefn clone(&self) -> CoolstepConfiguration
fn clone(&self) -> CoolstepConfiguration
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 CoolstepConfiguration
impl Debug for CoolstepConfiguration
sourceimpl Default for CoolstepConfiguration
impl Default for CoolstepConfiguration
sourcefn default() -> CoolstepConfiguration
fn default() -> CoolstepConfiguration
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for CoolstepConfiguration
impl FromByteSlice for CoolstepConfiguration
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]) -> CoolstepConfiguration
fn from_le_bytes(bytes: &[u8]) -> CoolstepConfiguration
Deserialize the implementing type from a byte slice.
sourceimpl Hash for CoolstepConfiguration
impl Hash for CoolstepConfiguration
sourceimpl PartialEq<CoolstepConfiguration> for CoolstepConfiguration
impl PartialEq<CoolstepConfiguration> for CoolstepConfiguration
sourcefn eq(&self, other: &CoolstepConfiguration) -> bool
fn eq(&self, other: &CoolstepConfiguration) -> bool
impl Copy for CoolstepConfiguration
impl Eq for CoolstepConfiguration
impl StructuralEq 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
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