Struct tinkerforge::silent_stepper_brick::AllData
source · pub struct AllData {
pub current_velocity: u16,
pub current_position: i32,
pub remaining_steps: i32,
pub stack_voltage: u16,
pub external_voltage: u16,
pub current_consumption: u16,
}
Fields§
§current_velocity: u16
§current_position: i32
§remaining_steps: i32
§stack_voltage: u16
§external_voltage: u16
§current_consumption: u16
Trait Implementations§
source§impl FromByteSlice for AllData
impl FromByteSlice for AllData
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]) -> AllData
fn from_le_byte_slice(bytes: &[u8]) -> AllData
Deserialize the implementing type from a byte slice.
source§impl PartialEq for AllData
impl PartialEq for AllData
impl Copy for AllData
impl Eq for AllData
impl StructuralPartialEq for AllData
Auto Trait Implementations§
impl RefUnwindSafe for AllData
impl Send for AllData
impl Sync for AllData
impl Unpin for AllData
impl UnwindSafe for AllData
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