#[repr(transparent)]pub struct CUdevResourceType(pub c_uint);Expand description
Type of resource.
Tuple Fields§
§0: c_uintImplementations§
Source§impl CUdevResourceType
impl CUdevResourceType
Sourcepub const CU_DEV_RESOURCE_TYPE_INVALID: CUdevResourceType
pub const CU_DEV_RESOURCE_TYPE_INVALID: CUdevResourceType
No valid device resource kind is selected.
Sourcepub const CU_DEV_RESOURCE_TYPE_SM: CUdevResourceType
pub const CU_DEV_RESOURCE_TYPE_SM: CUdevResourceType
Streaming multiprocessors related information.
Sourcepub const CU_DEV_RESOURCE_TYPE_WORKQUEUE_CONFIG: CUdevResourceType
pub const CU_DEV_RESOURCE_TYPE_WORKQUEUE_CONFIG: CUdevResourceType
Workqueue configuration related information.
Sourcepub const CU_DEV_RESOURCE_TYPE_WORKQUEUE: CUdevResourceType
pub const CU_DEV_RESOURCE_TYPE_WORKQUEUE: CUdevResourceType
Pre-existing workqueue related information.
Trait Implementations§
Source§impl Clone for CUdevResourceType
impl Clone for CUdevResourceType
impl Copy for CUdevResourceType
Source§impl Debug for CUdevResourceType
impl Debug for CUdevResourceType
impl Eq for CUdevResourceType
Source§impl Hash for CUdevResourceType
impl Hash for CUdevResourceType
Source§impl Ord for CUdevResourceType
impl Ord for CUdevResourceType
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 CUdevResourceType
impl PartialEq for CUdevResourceType
Source§impl PartialOrd for CUdevResourceType
impl PartialOrd for CUdevResourceType
impl StructuralPartialEq for CUdevResourceType
Auto Trait Implementations§
impl Forget for CUdevResourceType
impl Freeze for CUdevResourceType
impl Move 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