#[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
§desc: cudaChannelFormatDesc
§width: usize
§height: usize
§pitchInBytes: usize
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 copy 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 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