Struct rcudnn_sys::cudaPointerAttributes
source · #[repr(C)]pub struct cudaPointerAttributes {
pub type_: cudaMemoryType,
pub device: c_int,
pub devicePointer: *mut c_void,
pub hostPointer: *mut c_void,
}
Fields§
§type_: cudaMemoryType
§device: c_int
§devicePointer: *mut c_void
§hostPointer: *mut c_void
Trait Implementations§
source§impl Clone for cudaPointerAttributes
impl Clone for cudaPointerAttributes
source§fn clone(&self) -> cudaPointerAttributes
fn clone(&self) -> cudaPointerAttributes
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 cudaPointerAttributes
impl Debug for cudaPointerAttributes
impl Copy for cudaPointerAttributes
Auto Trait Implementations§
impl RefUnwindSafe for cudaPointerAttributes
impl !Send for cudaPointerAttributes
impl !Sync for cudaPointerAttributes
impl Unpin for cudaPointerAttributes
impl UnwindSafe for cudaPointerAttributes
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