#[repr(transparent)]pub struct cudaMemoryType(pub c_uint);Expand description
CUDA memory types.
Tuple Fields§
§0: c_uintImplementations§
Source§impl cudaMemoryType
impl cudaMemoryType
Sourcepub const cudaMemoryTypeUnregistered: cudaMemoryType
pub const cudaMemoryTypeUnregistered: cudaMemoryType
Unregistered memory.
Sourcepub const cudaMemoryTypeHost: cudaMemoryType
pub const cudaMemoryTypeHost: cudaMemoryType
Host memory.
Sourcepub const cudaMemoryTypeDevice: cudaMemoryType
pub const cudaMemoryTypeDevice: cudaMemoryType
Device memory.
Sourcepub const cudaMemoryTypeManaged: cudaMemoryType
pub const cudaMemoryTypeManaged: cudaMemoryType
Managed memory.
Trait Implementations§
Source§impl Clone for cudaMemoryType
impl Clone for cudaMemoryType
impl Copy for cudaMemoryType
Source§impl Debug for cudaMemoryType
impl Debug for cudaMemoryType
impl Eq for cudaMemoryType
Source§impl Hash for cudaMemoryType
impl Hash for cudaMemoryType
Source§impl Ord for cudaMemoryType
impl Ord for cudaMemoryType
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 cudaMemoryType
impl PartialEq for cudaMemoryType
Source§impl PartialOrd for cudaMemoryType
impl PartialOrd for cudaMemoryType
impl StructuralPartialEq for cudaMemoryType
Auto Trait Implementations§
impl Forget for cudaMemoryType
impl Freeze for cudaMemoryType
impl Move for cudaMemoryType
impl RefUnwindSafe for cudaMemoryType
impl Send for cudaMemoryType
impl Sync for cudaMemoryType
impl Unpin for cudaMemoryType
impl UnsafeUnpin for cudaMemoryType
impl UnwindSafe for cudaMemoryType
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