Struct tinkerforge::stepper_brick::AllDataEvent
source · pub struct AllDataEvent {
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 Clone for AllDataEvent
impl Clone for AllDataEvent
sourcefn clone(&self) -> AllDataEvent
fn clone(&self) -> AllDataEvent
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 AllDataEvent
impl Debug for AllDataEvent
sourceimpl Default for AllDataEvent
impl Default for AllDataEvent
sourcefn default() -> AllDataEvent
fn default() -> AllDataEvent
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for AllDataEvent
impl FromByteSlice for AllDataEvent
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]) -> AllDataEvent
fn from_le_bytes(bytes: &[u8]) -> AllDataEvent
Deserialize the implementing type from a byte slice.
sourceimpl Hash for AllDataEvent
impl Hash for AllDataEvent
sourceimpl PartialEq<AllDataEvent> for AllDataEvent
impl PartialEq<AllDataEvent> for AllDataEvent
sourcefn eq(&self, other: &AllDataEvent) -> bool
fn eq(&self, other: &AllDataEvent) -> bool
impl Copy for AllDataEvent
impl Eq for AllDataEvent
impl StructuralEq for AllDataEvent
impl StructuralPartialEq for AllDataEvent
Auto Trait Implementations
impl RefUnwindSafe for AllDataEvent
impl Send for AllDataEvent
impl Sync for AllDataEvent
impl Unpin for AllDataEvent
impl UnwindSafe for AllDataEvent
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