pub enum MemcpyDirection {
HostToDevice,
DeviceToHost,
DeviceToDevice,
}Expand description
Memory copy direction for graph edges
Variants§
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy 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