Enum rcudnn_sys::cudaMemLocationType
source · #[non_exhaustive]#[repr(u32)]pub enum cudaMemLocationType {
cudaMemLocationTypeInvalid = 0,
cudaMemLocationTypeDevice = 1,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for cudaMemLocationType
impl Clone for cudaMemLocationType
source§fn clone(&self) -> cudaMemLocationType
fn clone(&self) -> cudaMemLocationType
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 cudaMemLocationType
impl Debug for cudaMemLocationType
source§impl Hash for cudaMemLocationType
impl Hash for cudaMemLocationType
source§impl PartialEq for cudaMemLocationType
impl PartialEq for cudaMemLocationType
source§fn eq(&self, other: &cudaMemLocationType) -> bool
fn eq(&self, other: &cudaMemLocationType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for cudaMemLocationType
impl Eq for cudaMemLocationType
impl StructuralPartialEq for cudaMemLocationType
Auto Trait Implementations§
impl RefUnwindSafe for cudaMemLocationType
impl Send for cudaMemLocationType
impl Sync for cudaMemLocationType
impl Unpin for cudaMemLocationType
impl UnwindSafe for cudaMemLocationType
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