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