#[repr(i32)]pub enum JITMode {
Off = 0,
On = 256,
Flush = 512,
}Expand description
Mode flags used to toggle/flush JIT compilation.
This enum is used by the following functions:
Functions using JITMode directly usually allow passing true/false as an alternative to JITMode::On/JITMode::Off.
Variants§
Trait Implementations§
impl Eq for JITMode
Source§impl From<bool> for JITMode
impl From<bool> for JITMode
Source§fn from(value: bool) -> Self
fn from(value: bool) -> Self
Converts true into JITMode::On and false into JITMode::Off.
impl StructuralPartialEq for JITMode
Auto Trait Implementations§
impl Freeze for JITMode
impl RefUnwindSafe for JITMode
impl Send for JITMode
impl Sync for JITMode
impl Unpin for JITMode
impl UnsafeUnpin for JITMode
impl UnwindSafe for JITMode
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