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
sourceimpl FromByteSlice for AllData
impl FromByteSlice for AllData
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]) -> AllData
fn from_le_bytes(bytes: &[u8]) -> AllData
Deserialize the implementing type from a byte slice.
impl Copy for AllData
impl Eq for AllData
impl StructuralEq 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
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