Struct dynamixel2::instructions::BulkReadData
source · pub struct BulkReadData {
pub motor_id: u8,
pub address: u16,
pub count: u16,
}
Expand description
Parameters for a bulk read instruction.
Fields§
§motor_id: u8
The ID of the motor.
address: u16
The address for the read or write.
count: u16
The length of the data to be read.
Trait Implementations§
source§impl AsRef<BulkReadData> for BulkReadData
impl AsRef<BulkReadData> for BulkReadData
source§impl Clone for BulkReadData
impl Clone for BulkReadData
source§fn clone(&self) -> BulkReadData
fn clone(&self) -> BulkReadData
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 BulkReadData
impl Debug for BulkReadData
source§impl PartialEq for BulkReadData
impl PartialEq for BulkReadData
source§fn eq(&self, other: &BulkReadData) -> bool
fn eq(&self, other: &BulkReadData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BulkReadData
impl StructuralPartialEq for BulkReadData
Auto Trait Implementations§
impl Freeze for BulkReadData
impl RefUnwindSafe for BulkReadData
impl Send for BulkReadData
impl Sync for BulkReadData
impl Unpin for BulkReadData
impl UnwindSafe for BulkReadData
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