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
impl Copy for FrameReadEvent
impl Eq for FrameReadEvent
impl StructuralPartialEq for FrameReadEvent
Auto Trait Implementations§
impl Freeze for FrameReadEvent
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