Struct hip_sys::hiprt::hipPitchedPtr
source · #[repr(C)]pub struct hipPitchedPtr {
pub ptr: *mut c_void,
pub pitch: usize,
pub xsize: usize,
pub ysize: usize,
}Fields§
§ptr: *mut c_void§pitch: usize§xsize: usize§ysize: usizeTrait Implementations§
source§impl Clone for hipPitchedPtr
impl Clone for hipPitchedPtr
source§fn clone(&self) -> hipPitchedPtr
fn clone(&self) -> hipPitchedPtr
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 Debug for hipPitchedPtr
impl Debug for hipPitchedPtr
source§impl Default for hipPitchedPtr
impl Default for hipPitchedPtr
source§fn default() -> hipPitchedPtr
fn default() -> hipPitchedPtr
Returns the “default value” for a type. Read more
source§impl Hash for hipPitchedPtr
impl Hash for hipPitchedPtr
source§impl Ord for hipPitchedPtr
impl Ord for hipPitchedPtr
source§fn cmp(&self, other: &hipPitchedPtr) -> Ordering
fn cmp(&self, other: &hipPitchedPtr) -> 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<hipPitchedPtr> for hipPitchedPtr
impl PartialEq<hipPitchedPtr> for hipPitchedPtr
source§fn eq(&self, other: &hipPitchedPtr) -> bool
fn eq(&self, other: &hipPitchedPtr) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipPitchedPtr> for hipPitchedPtr
impl PartialOrd<hipPitchedPtr> for hipPitchedPtr
source§fn partial_cmp(&self, other: &hipPitchedPtr) -> Option<Ordering>
fn partial_cmp(&self, other: &hipPitchedPtr) -> 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 hipPitchedPtr
impl Eq for hipPitchedPtr
impl StructuralEq for hipPitchedPtr
impl StructuralPartialEq for hipPitchedPtr
Auto Trait Implementations§
impl RefUnwindSafe for hipPitchedPtr
impl !Send for hipPitchedPtr
impl !Sync for hipPitchedPtr
impl Unpin for hipPitchedPtr
impl UnwindSafe for hipPitchedPtr
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