#[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§desc: hipChannelFormatDesc§width: usize§height: usize§pitchInBytes: usizeTrait 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 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 moresource§impl Default for hipResourceDesc__bindgen_ty_1__bindgen_ty_4
impl Default for hipResourceDesc__bindgen_ty_1__bindgen_ty_4
source§fn default() -> hipResourceDesc__bindgen_ty_1__bindgen_ty_4
fn default() -> hipResourceDesc__bindgen_ty_1__bindgen_ty_4
Returns the “default value” for a type. Read more
source§impl Ord for hipResourceDesc__bindgen_ty_1__bindgen_ty_4
impl Ord for hipResourceDesc__bindgen_ty_1__bindgen_ty_4
source§fn cmp(&self, other: &hipResourceDesc__bindgen_ty_1__bindgen_ty_4) -> Ordering
fn cmp(&self, other: &hipResourceDesc__bindgen_ty_1__bindgen_ty_4) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<hipResourceDesc__bindgen_ty_1__bindgen_ty_4> for hipResourceDesc__bindgen_ty_1__bindgen_ty_4
impl PartialEq<hipResourceDesc__bindgen_ty_1__bindgen_ty_4> for hipResourceDesc__bindgen_ty_1__bindgen_ty_4
source§fn eq(&self, other: &hipResourceDesc__bindgen_ty_1__bindgen_ty_4) -> bool
fn eq(&self, other: &hipResourceDesc__bindgen_ty_1__bindgen_ty_4) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipResourceDesc__bindgen_ty_1__bindgen_ty_4> for hipResourceDesc__bindgen_ty_1__bindgen_ty_4
impl PartialOrd<hipResourceDesc__bindgen_ty_1__bindgen_ty_4> for hipResourceDesc__bindgen_ty_1__bindgen_ty_4
source§fn partial_cmp(
&self,
other: &hipResourceDesc__bindgen_ty_1__bindgen_ty_4
) -> Option<Ordering>
fn partial_cmp( &self, other: &hipResourceDesc__bindgen_ty_1__bindgen_ty_4 ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for hipResourceDesc__bindgen_ty_1__bindgen_ty_4
impl Eq for hipResourceDesc__bindgen_ty_1__bindgen_ty_4
impl StructuralEq for hipResourceDesc__bindgen_ty_1__bindgen_ty_4
impl StructuralPartialEq for hipResourceDesc__bindgen_ty_1__bindgen_ty_4
Auto Trait Implementations§
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