#[non_exhaustive]#[repr(u32)]pub enum NVSDK_NGX_GPU_Arch {
NVSDK_NGX_GPU_Arch_NotSupported = 0,
NVSDK_NGX_GPU_Arch_Volta = 320,
NVSDK_NGX_GPU_Arch_Turing = 352,
NVSDK_NGX_GPU_Arch_Ampere = 368,
NVSDK_NGX_GPU_Arch_Ada = 400,
NVSDK_NGX_GPU_Arch_Hopper = 384,
NVSDK_NGX_GPU_Arch_Blackwell = 416,
NVSDK_NGX_GPU_Arch_Blackwell2 = 432,
NVSDK_NGX_GPU_Arch_Unknown = 134_217_727,
}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.
NVSDK_NGX_GPU_Arch_NotSupported = 0
NVSDK_NGX_GPU_Arch_Volta = 320
NVSDK_NGX_GPU_Arch_Turing = 352
NVSDK_NGX_GPU_Arch_Ampere = 368
NVSDK_NGX_GPU_Arch_Ada = 400
NVSDK_NGX_GPU_Arch_Hopper = 384
NVSDK_NGX_GPU_Arch_Blackwell = 416
NVSDK_NGX_GPU_Arch_Blackwell2 = 432
NVSDK_NGX_GPU_Arch_Unknown = 134_217_727
Trait Implementations§
Source§impl Clone for NVSDK_NGX_GPU_Arch
impl Clone for NVSDK_NGX_GPU_Arch
Source§fn clone(&self) -> NVSDK_NGX_GPU_Arch
fn clone(&self) -> NVSDK_NGX_GPU_Arch
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 NVSDK_NGX_GPU_Arch
impl Debug for NVSDK_NGX_GPU_Arch
Source§impl Hash for NVSDK_NGX_GPU_Arch
impl Hash for NVSDK_NGX_GPU_Arch
Source§impl PartialEq for NVSDK_NGX_GPU_Arch
impl PartialEq for NVSDK_NGX_GPU_Arch
impl Copy for NVSDK_NGX_GPU_Arch
impl Eq for NVSDK_NGX_GPU_Arch
impl StructuralPartialEq for NVSDK_NGX_GPU_Arch
Auto Trait Implementations§
impl Freeze for NVSDK_NGX_GPU_Arch
impl RefUnwindSafe for NVSDK_NGX_GPU_Arch
impl Send for NVSDK_NGX_GPU_Arch
impl Sync for NVSDK_NGX_GPU_Arch
impl Unpin for NVSDK_NGX_GPU_Arch
impl UnwindSafe for NVSDK_NGX_GPU_Arch
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