Struct tinkerforge::silent_stepper_brick::DriverStatus
source · pub struct DriverStatus {
pub open_load: u8,
pub short_to_ground: u8,
pub over_temperature: u8,
pub motor_stalled: bool,
pub actual_motor_current: u8,
pub full_step_active: bool,
pub stallguard_result: u8,
pub stealth_voltage_amplitude: u8,
}
Fields§
§open_load: u8
§short_to_ground: u8
§over_temperature: u8
§motor_stalled: bool
§actual_motor_current: u8
§full_step_active: bool
§stallguard_result: u8
§stealth_voltage_amplitude: u8
Trait Implementations§
source§impl Clone for DriverStatus
impl Clone for DriverStatus
source§fn clone(&self) -> DriverStatus
fn clone(&self) -> DriverStatus
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 DriverStatus
impl Debug for DriverStatus
source§impl Default for DriverStatus
impl Default for DriverStatus
source§fn default() -> DriverStatus
fn default() -> DriverStatus
Returns the “default value” for a type. Read more
source§impl FromByteSlice for DriverStatus
impl FromByteSlice for DriverStatus
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]) -> DriverStatus
fn from_le_byte_slice(bytes: &[u8]) -> DriverStatus
Deserialize the implementing type from a byte slice.
source§impl Hash for DriverStatus
impl Hash for DriverStatus
source§impl PartialEq for DriverStatus
impl PartialEq for DriverStatus
source§fn eq(&self, other: &DriverStatus) -> bool
fn eq(&self, other: &DriverStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DriverStatus
impl Eq for DriverStatus
impl StructuralPartialEq for DriverStatus
Auto Trait Implementations§
impl RefUnwindSafe for DriverStatus
impl Send for DriverStatus
impl Sync for DriverStatus
impl Unpin for DriverStatus
impl UnwindSafe for DriverStatus
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