pub struct ReadWifi2SerialPort {
pub data: [u8; 60],
pub result: u8,
}
Fields§
§data: [u8; 60]
§result: u8
Trait Implementations§
Source§impl Clone for ReadWifi2SerialPort
impl Clone for ReadWifi2SerialPort
Source§fn clone(&self) -> ReadWifi2SerialPort
fn clone(&self) -> ReadWifi2SerialPort
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 FromByteSlice for ReadWifi2SerialPort
impl FromByteSlice for ReadWifi2SerialPort
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]) -> ReadWifi2SerialPort
fn from_le_byte_slice(bytes: &[u8]) -> ReadWifi2SerialPort
Deserialize the implementing type from a byte slice.
impl Copy for ReadWifi2SerialPort
Auto Trait Implementations§
impl Freeze for ReadWifi2SerialPort
impl RefUnwindSafe for ReadWifi2SerialPort
impl Send for ReadWifi2SerialPort
impl Sync for ReadWifi2SerialPort
impl Unpin for ReadWifi2SerialPort
impl UnwindSafe for ReadWifi2SerialPort
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