pub enum MemcpyKind {
HostToDevice,
DeviceToHost,
DeviceToDevice,
HostToHost,
}
Expand description
Memory copy direction
Variants§
Trait Implementations§
Source§impl Clone for MemcpyKind
impl Clone for MemcpyKind
Source§fn clone(&self) -> MemcpyKind
fn clone(&self) -> MemcpyKind
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 MemcpyKind
impl Debug for MemcpyKind
impl Copy for MemcpyKind
Auto Trait Implementations§
impl Freeze for MemcpyKind
impl RefUnwindSafe for MemcpyKind
impl Send for MemcpyKind
impl Sync for MemcpyKind
impl Unpin for MemcpyKind
impl UnwindSafe for MemcpyKind
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