#[repr(i32)]pub enum CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum {
CU_POINTER_ATTRIBUTE_ACCESS_FLAG_NONE = 0,
CU_POINTER_ATTRIBUTE_ACCESS_FLAG_READ = 1,
CU_POINTER_ATTRIBUTE_ACCESS_FLAG_READWRITE = 3,
}
Variants§
CU_POINTER_ATTRIBUTE_ACCESS_FLAG_NONE = 0
CU_POINTER_ATTRIBUTE_ACCESS_FLAG_READ = 1
CU_POINTER_ATTRIBUTE_ACCESS_FLAG_READWRITE = 3
Trait Implementations§
Source§impl Clone for CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum
impl Clone for CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum
Source§fn clone(&self) -> CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum
fn clone(&self) -> CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum
Returns a copy 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 Ord for CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum
impl Ord for CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum
Source§fn cmp(&self, other: &CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum) -> Ordering
fn cmp(&self, other: &CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum) -> Ordering
1.21.0 · 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
Source§impl PartialEq for CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum
impl PartialEq for CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum
Source§fn eq(&self, other: &CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum) -> bool
fn eq(&self, other: &CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum
impl PartialOrd for CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum
impl Copy for CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum
impl Eq for CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum
impl StructuralPartialEq for CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum
Auto Trait Implementations§
impl Freeze for CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum
impl RefUnwindSafe for CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum
impl Send for CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum
impl Sync for CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum
impl Unpin for CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum
impl UnwindSafe for CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum
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