#[non_exhaustive]#[repr(u32)]pub enum JitCacheMode {
OptionNone = 0,
OptionCg = 1,
OptionCa = 2,
}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 JitCacheMode
impl Clone for JitCacheMode
Source§fn clone(&self) -> JitCacheMode
fn clone(&self) -> JitCacheMode
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 JitCacheMode
Source§impl Debug for JitCacheMode
impl Debug for JitCacheMode
Source§impl Display for JitCacheMode
impl Display for JitCacheMode
impl Eq for JitCacheMode
Source§impl From<CUjit_cacheMode_enum> for JitCacheMode
impl From<CUjit_cacheMode_enum> for JitCacheMode
Source§fn from(value: CUjit_cacheMode) -> Self
fn from(value: CUjit_cacheMode) -> Self
Converts to this type from the input type.
Source§impl From<JitCacheMode> for u32
impl From<JitCacheMode> for u32
Source§fn from(enum_value: JitCacheMode) -> Self
fn from(enum_value: JitCacheMode) -> Self
Converts to this type from the input type.
Source§impl From<JitCacheMode> for CUjit_cacheMode
impl From<JitCacheMode> for CUjit_cacheMode
Source§fn from(value: JitCacheMode) -> Self
fn from(value: JitCacheMode) -> Self
Converts to this type from the input type.
Source§impl Hash for JitCacheMode
impl Hash for JitCacheMode
Source§impl PartialEq for JitCacheMode
impl PartialEq for JitCacheMode
Source§fn eq(&self, other: &JitCacheMode) -> bool
fn eq(&self, other: &JitCacheMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JitCacheMode
Source§impl TryFrom<u32> for JitCacheMode
impl TryFrom<u32> for JitCacheMode
Source§type Error = TryFromPrimitiveError<JitCacheMode>
type Error = TryFromPrimitiveError<JitCacheMode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for JitCacheMode
impl TryFromPrimitive for JitCacheMode
const NAME: &'static str = "JitCacheMode"
type Primitive = u32
type Error = TryFromPrimitiveError<JitCacheMode>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for JitCacheMode
impl RefUnwindSafe for JitCacheMode
impl Send for JitCacheMode
impl Sync for JitCacheMode
impl Unpin for JitCacheMode
impl UnsafeUnpin for JitCacheMode
impl UnwindSafe for JitCacheMode
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