#[repr(transparent)]pub struct CUresourcetype_enum(pub c_uint);
Expand description
Resource types
Tuple Fields§
§0: c_uint
Implementations§
Source§impl CUresourcetype_enum
impl CUresourcetype_enum
Sourcepub const CU_RESOURCE_TYPE_ARRAY: CUresourcetype_enum
pub const CU_RESOURCE_TYPE_ARRAY: CUresourcetype_enum
< Array resource
Source§impl CUresourcetype_enum
impl CUresourcetype_enum
Sourcepub const CU_RESOURCE_TYPE_MIPMAPPED_ARRAY: CUresourcetype_enum
pub const CU_RESOURCE_TYPE_MIPMAPPED_ARRAY: CUresourcetype_enum
< Mipmapped array resource
Source§impl CUresourcetype_enum
impl CUresourcetype_enum
Sourcepub const CU_RESOURCE_TYPE_LINEAR: CUresourcetype_enum
pub const CU_RESOURCE_TYPE_LINEAR: CUresourcetype_enum
< Linear resource
Source§impl CUresourcetype_enum
impl CUresourcetype_enum
Sourcepub const CU_RESOURCE_TYPE_PITCH2D: CUresourcetype_enum
pub const CU_RESOURCE_TYPE_PITCH2D: CUresourcetype_enum
< Pitch 2D resource
Trait Implementations§
Source§impl Clone for CUresourcetype_enum
impl Clone for CUresourcetype_enum
Source§fn clone(&self) -> CUresourcetype_enum
fn clone(&self) -> CUresourcetype_enum
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 CUresourcetype_enum
impl Debug for CUresourcetype_enum
Source§impl Hash for CUresourcetype_enum
impl Hash for CUresourcetype_enum
Source§impl PartialEq for CUresourcetype_enum
impl PartialEq for CUresourcetype_enum
impl Copy for CUresourcetype_enum
impl Eq for CUresourcetype_enum
impl StructuralPartialEq for CUresourcetype_enum
Auto Trait Implementations§
impl Freeze for CUresourcetype_enum
impl RefUnwindSafe for CUresourcetype_enum
impl Send for CUresourcetype_enum
impl Sync for CUresourcetype_enum
impl Unpin for CUresourcetype_enum
impl UnwindSafe for CUresourcetype_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