pub struct TransferStats {
pub host_to_device: DirectionalTransferStats,
pub device_to_host: DirectionalTransferStats,
}Expand description
Memory transfer statistics
Fields§
§host_to_device: DirectionalTransferStatsHost to device transfers
device_to_host: DirectionalTransferStatsDevice to host transfers
Trait Implementations§
Source§impl Clone for TransferStats
impl Clone for TransferStats
Source§fn clone(&self) -> TransferStats
fn clone(&self) -> TransferStats
Returns a duplicate 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 TransferStats
impl Debug for TransferStats
Source§impl Default for TransferStats
impl Default for TransferStats
Source§fn default() -> TransferStats
fn default() -> TransferStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TransferStats
impl RefUnwindSafe for TransferStats
impl Send for TransferStats
impl Sync for TransferStats
impl Unpin for TransferStats
impl UnsafeUnpin for TransferStats
impl UnwindSafe for TransferStats
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