#[repr(C)]pub struct hipResourceDesc__bindgen_ty_1__bindgen_ty_4 {
pub devPtr: *mut c_void,
pub desc: hipChannelFormatDesc,
pub width: usize,
pub height: usize,
pub pitchInBytes: usize,
}Fields§
§devPtr: *mut c_void< Device pointer
desc: hipChannelFormatDesc< Channel format description
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 hipResourceDesc__bindgen_ty_1__bindgen_ty_4
impl Clone for hipResourceDesc__bindgen_ty_1__bindgen_ty_4
Source§fn clone(&self) -> hipResourceDesc__bindgen_ty_1__bindgen_ty_4
fn clone(&self) -> hipResourceDesc__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 hipResourceDesc__bindgen_ty_1__bindgen_ty_4
Auto Trait Implementations§
impl Freeze for hipResourceDesc__bindgen_ty_1__bindgen_ty_4
impl RefUnwindSafe for hipResourceDesc__bindgen_ty_1__bindgen_ty_4
impl !Send for hipResourceDesc__bindgen_ty_1__bindgen_ty_4
impl !Sync for hipResourceDesc__bindgen_ty_1__bindgen_ty_4
impl Unpin for hipResourceDesc__bindgen_ty_1__bindgen_ty_4
impl UnwindSafe for hipResourceDesc__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