pub struct TransferShape {
pub ops: usize,
pub data_len: usize,
pub read_len: usize,
}Expand description
What a transfer amounts to, summed over its operations.
Fields§
§ops: usizeOperations in the list.
data_len: usizeOctets written and read together, which the device’s MAX_DATA
limit bounds.
read_len: usizeOctets the reply will carry.
Trait Implementations§
Source§impl Clone for TransferShape
impl Clone for TransferShape
Source§fn clone(&self) -> TransferShape
fn clone(&self) -> TransferShape
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransferShape
impl Debug for TransferShape
Source§impl Default for TransferShape
impl Default for TransferShape
Source§fn default() -> TransferShape
fn default() -> TransferShape
Returns the “default value” for a type. Read more
Source§impl PartialEq for TransferShape
impl PartialEq for TransferShape
impl Copy for TransferShape
impl Eq for TransferShape
impl StructuralPartialEq for TransferShape
Auto Trait Implementations§
impl Freeze for TransferShape
impl RefUnwindSafe for TransferShape
impl Send for TransferShape
impl Sync for TransferShape
impl Unpin for TransferShape
impl UnwindSafe for TransferShape
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)