pub struct RamReadData {
pub addr: ReadableRamAddr,
pub data_len: u8,
pub data: [u8; 2],
}Expand description
Data read from a servomotor
Fields§
§addr: ReadableRamAddrThe addr from which the data was read
data_len: u8The number of data read at this address
data: [u8; 2]The data read
Trait Implementations§
Source§impl Clone for RamReadData
impl Clone for RamReadData
Source§fn clone(&self) -> RamReadData
fn clone(&self) -> RamReadData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RamReadData
Source§impl Debug for RamReadData
impl Debug for RamReadData
impl Eq for RamReadData
Source§impl PartialEq for RamReadData
impl PartialEq for RamReadData
Source§fn eq(&self, other: &RamReadData) -> bool
fn eq(&self, other: &RamReadData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RamReadData
Auto Trait Implementations§
impl Freeze for RamReadData
impl RefUnwindSafe for RamReadData
impl Send for RamReadData
impl Sync for RamReadData
impl Unpin for RamReadData
impl UnsafeUnpin for RamReadData
impl UnwindSafe for RamReadData
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