pub enum MemcpyDirection {
HostToDevice,
DeviceToHost,
DeviceToDevice,
}Expand description
Direction of a memory copy operation within a graph node.
Variants§
HostToDevice
Host to device transfer.
DeviceToHost
Device to host transfer.
DeviceToDevice
Device to device transfer.
Trait Implementations§
Source§impl Clone for MemcpyDirection
impl Clone for MemcpyDirection
Source§fn clone(&self) -> MemcpyDirection
fn clone(&self) -> MemcpyDirection
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 MemcpyDirection
impl Debug for MemcpyDirection
Source§impl Display for MemcpyDirection
impl Display for MemcpyDirection
Source§impl Hash for MemcpyDirection
impl Hash for MemcpyDirection
Source§impl PartialEq for MemcpyDirection
impl PartialEq for MemcpyDirection
impl Copy for MemcpyDirection
impl Eq for MemcpyDirection
impl StructuralPartialEq for MemcpyDirection
Auto Trait Implementations§
impl Freeze for MemcpyDirection
impl RefUnwindSafe for MemcpyDirection
impl Send for MemcpyDirection
impl Sync for MemcpyDirection
impl Unpin for MemcpyDirection
impl UnsafeUnpin for MemcpyDirection
impl UnwindSafe for MemcpyDirection
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