#[non_exhaustive]#[repr(u32)]pub enum JitInputType {
Cubin = 0,
Ptx = 1,
Fatbinary = 2,
Object = 3,
Library = 4,
Nvvm = 5,
NumInputTypes = 6,
}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 JitInputType
impl Clone for JitInputType
Source§fn clone(&self) -> JitInputType
fn clone(&self) -> JitInputType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for JitInputType
Source§impl Debug for JitInputType
impl Debug for JitInputType
Source§impl Display for JitInputType
impl Display for JitInputType
impl Eq for JitInputType
Source§impl From<CUjitInputType_enum> for JitInputType
impl From<CUjitInputType_enum> for JitInputType
Source§fn from(value: CUjitInputType) -> Self
fn from(value: CUjitInputType) -> Self
Converts to this type from the input type.
Source§impl From<JitInputType> for u32
impl From<JitInputType> for u32
Source§fn from(enum_value: JitInputType) -> Self
fn from(enum_value: JitInputType) -> Self
Converts to this type from the input type.
Source§impl From<JitInputType> for CUjitInputType
impl From<JitInputType> for CUjitInputType
Source§fn from(value: JitInputType) -> Self
fn from(value: JitInputType) -> Self
Converts to this type from the input type.
Source§impl Hash for JitInputType
impl Hash for JitInputType
Source§impl PartialEq for JitInputType
impl PartialEq for JitInputType
Source§fn eq(&self, other: &JitInputType) -> bool
fn eq(&self, other: &JitInputType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JitInputType
Source§impl TryFrom<u32> for JitInputType
impl TryFrom<u32> for JitInputType
Source§type Error = TryFromPrimitiveError<JitInputType>
type Error = TryFromPrimitiveError<JitInputType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for JitInputType
impl TryFromPrimitive for JitInputType
const NAME: &'static str = "JitInputType"
type Primitive = u32
type Error = TryFromPrimitiveError<JitInputType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for JitInputType
impl RefUnwindSafe for JitInputType
impl Send for JitInputType
impl Sync for JitInputType
impl Unpin for JitInputType
impl UnsafeUnpin for JitInputType
impl UnwindSafe for JitInputType
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