#[repr(C)]pub struct cudaResourceDesc__bindgen_ty_1__bindgen_ty_4 {
pub devPtr: *mut c_void,
pub desc: cudaChannelFormatDesc,
pub width: usize,
pub height: usize,
pub pitchInBytes: usize,
}
Fields§
§devPtr: *mut c_void
< Device pointer
desc: cudaChannelFormatDesc
< Channel descriptor
width: usize
< Width of the array in elements
height: usize
< Height of the array in elements
pitchInBytes: usize
< Pitch between two rows in bytes
Trait Implementations§
Source§impl Clone for cudaResourceDesc__bindgen_ty_1__bindgen_ty_4
impl Clone for cudaResourceDesc__bindgen_ty_1__bindgen_ty_4
Source§fn clone(&self) -> cudaResourceDesc__bindgen_ty_1__bindgen_ty_4
fn clone(&self) -> cudaResourceDesc__bindgen_ty_1__bindgen_ty_4
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_4
Auto Trait Implementations§
impl Freeze for cudaResourceDesc__bindgen_ty_1__bindgen_ty_4
impl RefUnwindSafe for cudaResourceDesc__bindgen_ty_1__bindgen_ty_4
impl !Send for cudaResourceDesc__bindgen_ty_1__bindgen_ty_4
impl !Sync for cudaResourceDesc__bindgen_ty_1__bindgen_ty_4
impl Unpin for cudaResourceDesc__bindgen_ty_1__bindgen_ty_4
impl UnwindSafe for cudaResourceDesc__bindgen_ty_1__bindgen_ty_4
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