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