#[repr(transparent)]pub struct cudaMemcpyKind(pub c_uint);Expand description
CUDA memory copy types.
Tuple Fields§
§0: c_uintImplementations§
Source§impl cudaMemcpyKind
impl cudaMemcpyKind
Sourcepub const cudaMemcpyHostToHost: cudaMemcpyKind
pub const cudaMemcpyHostToHost: cudaMemcpyKind
Host -> Host.
Sourcepub const cudaMemcpyHostToDevice: cudaMemcpyKind
pub const cudaMemcpyHostToDevice: cudaMemcpyKind
Host -> Device.
Sourcepub const cudaMemcpyDeviceToHost: cudaMemcpyKind
pub const cudaMemcpyDeviceToHost: cudaMemcpyKind
Device -> Host.
Sourcepub const cudaMemcpyDeviceToDevice: cudaMemcpyKind
pub const cudaMemcpyDeviceToDevice: cudaMemcpyKind
Device -> Device.
Sourcepub const cudaMemcpyDefault: cudaMemcpyKind
pub const cudaMemcpyDefault: cudaMemcpyKind
Direction of the transfer is inferred from the pointer values.
Requires unified virtual addressing.
Trait Implementations§
Source§impl Clone for cudaMemcpyKind
impl Clone for cudaMemcpyKind
impl Copy for cudaMemcpyKind
Source§impl Debug for cudaMemcpyKind
impl Debug for cudaMemcpyKind
impl Eq for cudaMemcpyKind
Source§impl Hash for cudaMemcpyKind
impl Hash for cudaMemcpyKind
Source§impl Ord for cudaMemcpyKind
impl Ord for cudaMemcpyKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for cudaMemcpyKind
impl PartialEq for cudaMemcpyKind
Source§impl PartialOrd for cudaMemcpyKind
impl PartialOrd for cudaMemcpyKind
impl StructuralPartialEq for cudaMemcpyKind
Auto Trait Implementations§
impl Forget for cudaMemcpyKind
impl Freeze for cudaMemcpyKind
impl Move for cudaMemcpyKind
impl RefUnwindSafe for cudaMemcpyKind
impl Send for cudaMemcpyKind
impl Sync for cudaMemcpyKind
impl Unpin for cudaMemcpyKind
impl UnsafeUnpin for cudaMemcpyKind
impl UnwindSafe for cudaMemcpyKind
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