[][src]Struct dynamixel2::instructions::SyncReadU16

pub struct SyncReadU16<'a> {
    pub motor_ids: &'a [u8],
    pub address: u16,
}

Synchronously read an u16 from multiple motors.

Fields

motor_ids: &'a [u8]

The motors to read from.

address: u16

The address to read from.

Implementations

impl<'a> SyncReadU16<'a>[src]

pub fn new(motor_ids: &'a [u8], address: u16) -> Self[src]

Create a new SyncReadU16 instruction to read data from a list of motors.

Trait Implementations

impl<'a> Debug for SyncReadU16<'a>[src]

impl<'_> Instruction for SyncReadU16<'_>[src]

type Response = (u8, u16)

The response type.

Auto Trait Implementations

impl<'a> RefUnwindSafe for SyncReadU16<'a>

impl<'a> Send for SyncReadU16<'a>

impl<'a> Sync for SyncReadU16<'a>

impl<'a> Unpin for SyncReadU16<'a>

impl<'a> UnwindSafe for SyncReadU16<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.