#[repr(C)]pub struct cudaPitchedPtr {
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 cudaPitchedPtr
impl Clone for cudaPitchedPtr
Source§fn clone(&self) -> cudaPitchedPtr
fn clone(&self) -> cudaPitchedPtr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for cudaPitchedPtr
Source§impl Debug for cudaPitchedPtr
impl Debug for cudaPitchedPtr
Source§impl Default for cudaPitchedPtr
impl Default for cudaPitchedPtr
impl Eq for cudaPitchedPtr
Source§impl Hash for cudaPitchedPtr
impl Hash for cudaPitchedPtr
Source§impl Ord for cudaPitchedPtr
impl Ord for cudaPitchedPtr
Source§fn cmp(&self, other: &cudaPitchedPtr) -> Ordering
fn cmp(&self, other: &cudaPitchedPtr) -> Ordering
1.21.0 (const: unstable) · 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 for cudaPitchedPtr
impl PartialEq for cudaPitchedPtr
Source§fn eq(&self, other: &cudaPitchedPtr) -> bool
fn eq(&self, other: &cudaPitchedPtr) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for cudaPitchedPtr
impl PartialOrd for cudaPitchedPtr
impl StructuralPartialEq for cudaPitchedPtr
Auto Trait Implementations§
impl !Send for cudaPitchedPtr
impl !Sync for cudaPitchedPtr
impl Freeze for cudaPitchedPtr
impl RefUnwindSafe for cudaPitchedPtr
impl Unpin for cudaPitchedPtr
impl UnsafeUnpin for cudaPitchedPtr
impl UnwindSafe for cudaPitchedPtr
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