Struct tinkerforge_async::can_bricklet::FrameReadEvent
source · pub struct FrameReadEvent {
pub frame_type: u8,
pub identifier: u32,
pub data: [u8; 8],
pub length: u8,
}
Fields§
§frame_type: u8
§identifier: u32
§data: [u8; 8]
§length: u8
Trait Implementations§
source§impl Clone for FrameReadEvent
impl Clone for FrameReadEvent
source§fn clone(&self) -> FrameReadEvent
fn clone(&self) -> FrameReadEvent
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 FrameReadEvent
impl Debug for FrameReadEvent
source§impl Default for FrameReadEvent
impl Default for FrameReadEvent
source§fn default() -> FrameReadEvent
fn default() -> FrameReadEvent
Returns the “default value” for a type. Read more
source§impl FromByteSlice for FrameReadEvent
impl FromByteSlice for FrameReadEvent
source§fn 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.
source§fn from_le_byte_slice(bytes: &[u8]) -> FrameReadEvent
fn from_le_byte_slice(bytes: &[u8]) -> FrameReadEvent
Deserialize the implementing type from a byte slice.
source§impl Hash for FrameReadEvent
impl Hash for FrameReadEvent
source§impl PartialEq for FrameReadEvent
impl PartialEq for FrameReadEvent
source§fn eq(&self, other: &FrameReadEvent) -> bool
fn eq(&self, other: &FrameReadEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FrameReadEvent
impl Eq for FrameReadEvent
impl StructuralPartialEq for FrameReadEvent
Auto Trait Implementations§
impl RefUnwindSafe for FrameReadEvent
impl Send for FrameReadEvent
impl Sync for FrameReadEvent
impl Unpin for FrameReadEvent
impl UnwindSafe for FrameReadEvent
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