#[repr(transparent)]pub struct cudaResourceType(pub c_uint);Expand description
CUDA resource types.
Tuple Fields§
§0: c_uintImplementations§
Source§impl cudaResourceType
impl cudaResourceType
Sourcepub const cudaResourceTypeArray: cudaResourceType
pub const cudaResourceTypeArray: cudaResourceType
Array resource.
Sourcepub const cudaResourceTypeMipmappedArray: cudaResourceType
pub const cudaResourceTypeMipmappedArray: cudaResourceType
Mipmapped array resource.
Sourcepub const cudaResourceTypeLinear: cudaResourceType
pub const cudaResourceTypeLinear: cudaResourceType
Linear resource.
Sourcepub const cudaResourceTypePitch2D: cudaResourceType
pub const cudaResourceTypePitch2D: cudaResourceType
Pitch 2D resource.
Trait Implementations§
Source§impl Clone for cudaResourceType
impl Clone for cudaResourceType
impl Copy for cudaResourceType
Source§impl Debug for cudaResourceType
impl Debug for cudaResourceType
impl Eq for cudaResourceType
Source§impl Hash for cudaResourceType
impl Hash for cudaResourceType
Source§impl Ord for cudaResourceType
impl Ord for cudaResourceType
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 cudaResourceType
impl PartialEq for cudaResourceType
Source§impl PartialOrd for cudaResourceType
impl PartialOrd for cudaResourceType
impl StructuralPartialEq for cudaResourceType
Auto Trait Implementations§
impl Forget for cudaResourceType
impl Freeze for cudaResourceType
impl Move for cudaResourceType
impl RefUnwindSafe for cudaResourceType
impl Send for cudaResourceType
impl Sync for cudaResourceType
impl Unpin for cudaResourceType
impl UnsafeUnpin for cudaResourceType
impl UnwindSafe for cudaResourceType
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