Struct tinkerforge::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
sourceimpl Clone for FrameReadEvent
impl Clone for FrameReadEvent
sourcefn clone(&self) -> FrameReadEvent
fn clone(&self) -> FrameReadEvent
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 FrameReadEvent
impl Debug for FrameReadEvent
sourceimpl Default for FrameReadEvent
impl Default for FrameReadEvent
sourcefn default() -> FrameReadEvent
fn default() -> FrameReadEvent
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for FrameReadEvent
impl FromByteSlice for FrameReadEvent
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]) -> FrameReadEvent
fn from_le_bytes(bytes: &[u8]) -> FrameReadEvent
Deserialize the implementing type from a byte slice.
sourceimpl Hash for FrameReadEvent
impl Hash for FrameReadEvent
sourceimpl PartialEq<FrameReadEvent> for FrameReadEvent
impl PartialEq<FrameReadEvent> for FrameReadEvent
sourcefn eq(&self, other: &FrameReadEvent) -> bool
fn eq(&self, other: &FrameReadEvent) -> bool
impl Copy for FrameReadEvent
impl Eq for FrameReadEvent
impl StructuralEq 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
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