Struct rcudnn_sys::cudaMemLocation
source · #[repr(C)]pub struct cudaMemLocation {
pub type_: cudaMemLocationType,
pub id: c_int,
}
Fields§
§type_: cudaMemLocationType
§id: c_int
Trait Implementations§
source§impl Clone for cudaMemLocation
impl Clone for cudaMemLocation
source§fn clone(&self) -> cudaMemLocation
fn clone(&self) -> cudaMemLocation
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 cudaMemLocation
impl Debug for cudaMemLocation
impl Copy for cudaMemLocation
Auto Trait Implementations§
impl RefUnwindSafe for cudaMemLocation
impl Send for cudaMemLocation
impl Sync for cudaMemLocation
impl Unpin for cudaMemLocation
impl UnwindSafe for cudaMemLocation
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