#[repr(C)]pub struct cudaResourceDesc__bindgen_ty_1__bindgen_ty_3 {
pub devPtr: *mut c_void,
pub desc: cudaChannelFormatDesc,
pub sizeInBytes: usize,
}
Fields§
§devPtr: *mut c_void
< Device pointer
desc: cudaChannelFormatDesc
< Channel descriptor
sizeInBytes: usize
< Size in bytes
Trait Implementations§
Source§impl Clone for cudaResourceDesc__bindgen_ty_1__bindgen_ty_3
impl Clone for cudaResourceDesc__bindgen_ty_1__bindgen_ty_3
Source§fn clone(&self) -> cudaResourceDesc__bindgen_ty_1__bindgen_ty_3
fn clone(&self) -> cudaResourceDesc__bindgen_ty_1__bindgen_ty_3
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 cudaResourceDesc__bindgen_ty_1__bindgen_ty_3
Auto Trait Implementations§
impl Freeze for cudaResourceDesc__bindgen_ty_1__bindgen_ty_3
impl RefUnwindSafe for cudaResourceDesc__bindgen_ty_1__bindgen_ty_3
impl !Send for cudaResourceDesc__bindgen_ty_1__bindgen_ty_3
impl !Sync for cudaResourceDesc__bindgen_ty_1__bindgen_ty_3
impl Unpin for cudaResourceDesc__bindgen_ty_1__bindgen_ty_3
impl UnwindSafe for cudaResourceDesc__bindgen_ty_1__bindgen_ty_3
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