#[repr(u32)]pub enum BuilderFlag {
Show 18 variants
kFP16 = 0,
kINT8 = 1,
kDEBUG = 2,
kGPU_FALLBACK = 3,
kREFIT = 4,
kDISABLE_TIMING_CACHE = 5,
kTF32 = 6,
kSPARSE_WEIGHTS = 7,
kSAFETY_SCOPE = 8,
kOBEY_PRECISION_CONSTRAINTS = 9,
kPREFER_PRECISION_CONSTRAINTS = 10,
kDIRECT_IO = 11,
kREJECT_EMPTY_ALGORITHMS = 12,
kBF16 = 13,
kFP8 = 14,
kSTRIP_PLAN = 15,
kVERSION_COMPATIBLE = 16,
kEXCLUDE_LEAN_RUNTIME = 17,
}Variants§
kFP16 = 0
kINT8 = 1
kDEBUG = 2
kGPU_FALLBACK = 3
kREFIT = 4
kDISABLE_TIMING_CACHE = 5
kTF32 = 6
kSPARSE_WEIGHTS = 7
kSAFETY_SCOPE = 8
kOBEY_PRECISION_CONSTRAINTS = 9
kPREFER_PRECISION_CONSTRAINTS = 10
kDIRECT_IO = 11
kREJECT_EMPTY_ALGORITHMS = 12
kBF16 = 13
kFP8 = 14
kSTRIP_PLAN = 15
kVERSION_COMPATIBLE = 16
kEXCLUDE_LEAN_RUNTIME = 17
Trait Implementations§
Source§impl Clone for BuilderFlag
impl Clone for BuilderFlag
Source§fn clone(&self) -> BuilderFlag
fn clone(&self) -> BuilderFlag
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 moreSource§impl Debug for BuilderFlag
impl Debug for BuilderFlag
Source§impl PartialEq for BuilderFlag
impl PartialEq for BuilderFlag
Source§fn eq(&self, other: &BuilderFlag) -> bool
fn eq(&self, other: &BuilderFlag) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BuilderFlag
impl Eq for BuilderFlag
impl StructuralPartialEq for BuilderFlag
Auto Trait Implementations§
impl Freeze for BuilderFlag
impl RefUnwindSafe for BuilderFlag
impl Send for BuilderFlag
impl Sync for BuilderFlag
impl Unpin for BuilderFlag
impl UnsafeUnpin for BuilderFlag
impl UnwindSafe for BuilderFlag
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