#[repr(u32)]pub enum CUdevResourceType {
CU_DEV_RESOURCE_TYPE_INVALID = 0,
CU_DEV_RESOURCE_TYPE_SM = 1,
CU_DEV_RESOURCE_TYPE_WORKQUEUE_CONFIG = 1_000,
CU_DEV_RESOURCE_TYPE_WORKQUEUE = 10_000,
}Variants§
CU_DEV_RESOURCE_TYPE_INVALID = 0
CU_DEV_RESOURCE_TYPE_SM = 1
CU_DEV_RESOURCE_TYPE_WORKQUEUE_CONFIG = 1_000
CU_DEV_RESOURCE_TYPE_WORKQUEUE = 10_000
Trait Implementations§
Source§impl Clone for CUdevResourceType
impl Clone for CUdevResourceType
Source§fn clone(&self) -> CUdevResourceType
fn clone(&self) -> CUdevResourceType
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 CUdevResourceType
impl Debug for CUdevResourceType
Source§impl Hash for CUdevResourceType
impl Hash for CUdevResourceType
Source§impl Ord for CUdevResourceType
impl Ord for CUdevResourceType
Source§fn cmp(&self, other: &CUdevResourceType) -> Ordering
fn cmp(&self, other: &CUdevResourceType) -> 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 CUdevResourceType
impl PartialEq for CUdevResourceType
Source§impl PartialOrd for CUdevResourceType
impl PartialOrd for CUdevResourceType
impl Copy for CUdevResourceType
impl Eq for CUdevResourceType
impl StructuralPartialEq for CUdevResourceType
Auto Trait Implementations§
impl Freeze for CUdevResourceType
impl RefUnwindSafe for CUdevResourceType
impl Send for CUdevResourceType
impl Sync for CUdevResourceType
impl Unpin for CUdevResourceType
impl UnsafeUnpin for CUdevResourceType
impl UnwindSafe for CUdevResourceType
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