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