#[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: usize
Trait 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 · 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 cudaPitchedPtr
impl Debug for cudaPitchedPtr
Source§impl Default for cudaPitchedPtr
impl Default 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 · 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§impl PartialOrd for cudaPitchedPtr
impl PartialOrd for cudaPitchedPtr
impl Copy for cudaPitchedPtr
impl Eq for cudaPitchedPtr
impl StructuralPartialEq for cudaPitchedPtr
Auto Trait Implementations§
impl Freeze for cudaPitchedPtr
impl RefUnwindSafe for cudaPitchedPtr
impl !Send for cudaPitchedPtr
impl !Sync for cudaPitchedPtr
impl Unpin 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