pub struct Options {
pub run_checker: bool,
pub algorithm: Algorithm,
}Expand description
Tweakable options shared by all the allocators.
Fields§
§run_checker: boolShould the register allocator check that its results are valid? This adds runtime to the compiler, so this is disabled by default.
algorithm: AlgorithmWhich algorithm should be used for register allocation? By default, selects backtracking, which is slower to compile but creates code of better quality.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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