#[non_exhaustive]#[repr(u32)]pub enum cudaGraphMemAttributeType {
cudaGraphMemAttrUsedMemCurrent = 0,
cudaGraphMemAttrUsedMemHigh = 1,
cudaGraphMemAttrReservedMemCurrent = 2,
cudaGraphMemAttrReservedMemHigh = 3,
}
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.
cudaGraphMemAttrUsedMemCurrent = 0
cudaGraphMemAttrUsedMemHigh = 1
cudaGraphMemAttrReservedMemCurrent = 2
cudaGraphMemAttrReservedMemHigh = 3
Trait Implementations§
source§impl Clone for cudaGraphMemAttributeType
impl Clone for cudaGraphMemAttributeType
source§fn clone(&self) -> cudaGraphMemAttributeType
fn clone(&self) -> cudaGraphMemAttributeType
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 cudaGraphMemAttributeType
impl Debug for cudaGraphMemAttributeType
source§impl Hash for cudaGraphMemAttributeType
impl Hash for cudaGraphMemAttributeType
source§impl PartialEq for cudaGraphMemAttributeType
impl PartialEq for cudaGraphMemAttributeType
source§fn eq(&self, other: &cudaGraphMemAttributeType) -> bool
fn eq(&self, other: &cudaGraphMemAttributeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for cudaGraphMemAttributeType
impl Eq for cudaGraphMemAttributeType
impl StructuralPartialEq for cudaGraphMemAttributeType
Auto Trait Implementations§
impl RefUnwindSafe for cudaGraphMemAttributeType
impl Send for cudaGraphMemAttributeType
impl Sync for cudaGraphMemAttributeType
impl Unpin for cudaGraphMemAttributeType
impl UnwindSafe for cudaGraphMemAttributeType
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