#[repr(C)]pub struct CUDA_RESOURCE_DESC_st {
pub resType: CUresourcetype,
pub res: CUDA_RESOURCE_DESC_st__bindgen_ty_1,
pub flags: c_uint,
}
Expand description
CUDA Resource descriptor
Fields§
§resType: CUresourcetype
< Resource type
res: CUDA_RESOURCE_DESC_st__bindgen_ty_1
§flags: c_uint
< Flags (must be zero)
Trait Implementations§
Source§impl Clone for CUDA_RESOURCE_DESC_st
impl Clone for CUDA_RESOURCE_DESC_st
Source§fn clone(&self) -> CUDA_RESOURCE_DESC_st
fn clone(&self) -> CUDA_RESOURCE_DESC_st
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 moreimpl Copy for CUDA_RESOURCE_DESC_st
Auto Trait Implementations§
impl Freeze for CUDA_RESOURCE_DESC_st
impl RefUnwindSafe for CUDA_RESOURCE_DESC_st
impl !Send for CUDA_RESOURCE_DESC_st
impl !Sync for CUDA_RESOURCE_DESC_st
impl Unpin for CUDA_RESOURCE_DESC_st
impl UnwindSafe for CUDA_RESOURCE_DESC_st
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