#[repr(C)]pub struct WriteReadInput {
pub version: u16,
pub write_length: u8,
pub read_length: u8,
pub write: [u8; 64],
}Expand description
Input of WRITE_READ. Only the first write_length bytes of write are sent.
Fields§
§version: u16§write_length: u8§read_length: u8§write: [u8; 64]Trait Implementations§
Source§impl Clone for WriteReadInput
impl Clone for WriteReadInput
Source§fn clone(&self) -> WriteReadInput
fn clone(&self) -> WriteReadInput
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 moreSource§impl Debug for WriteReadInput
impl Debug for WriteReadInput
Source§impl Default for WriteReadInput
impl Default for WriteReadInput
Source§impl PartialEq for WriteReadInput
impl PartialEq for WriteReadInput
Source§fn eq(&self, other: &WriteReadInput) -> bool
fn eq(&self, other: &WriteReadInput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WriteReadInput
impl Eq for WriteReadInput
impl PlainData for WriteReadInput
impl StructuralPartialEq for WriteReadInput
Auto Trait Implementations§
impl Freeze for WriteReadInput
impl RefUnwindSafe for WriteReadInput
impl Send for WriteReadInput
impl Sync for WriteReadInput
impl Unpin for WriteReadInput
impl UnsafeUnpin for WriteReadInput
impl UnwindSafe for WriteReadInput
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