pub struct OptionsBuilder { /* private fields */ }
Expand description
Builder that conveniently allows to specify common Isabelle options.
Implementations§
Source§impl OptionsBuilder
impl OptionsBuilder
pub fn new() -> Self
Sourcepub fn threads(&mut self, threads: isize) -> &mut Self
pub fn threads(&mut self, threads: isize) -> &mut Self
Maximum number of worker threads for prover process (0 = hardware max.)
Sourcepub fn thread_stack_limit(&mut self, limit: f32) -> &mut Self
pub fn thread_stack_limit(&mut self, limit: f32) -> &mut Self
Maximum stack size for worker threads (in giga words, 0 = unlimited)
Sourcepub fn parallel_limit(&mut self, limit: isize) -> &mut Self
pub fn parallel_limit(&mut self, limit: isize) -> &mut Self
Approximative limit for parallel tasks (0 = unlimited)
Sourcepub fn parallel_proofs(&mut self, limit: isize) -> &mut Self
pub fn parallel_proofs(&mut self, limit: isize) -> &mut Self
Level of parallel proof checking: 0, 1, 2
Sourcepub fn timeout_scale(&mut self, scale: f32) -> &mut Self
pub fn timeout_scale(&mut self, scale: f32) -> &mut Self
Scale factor for timeout in Isabelle/ML and session build
Sourcepub fn record_proofs(&mut self, level: isize) -> &mut Self
pub fn record_proofs(&mut self, level: isize) -> &mut Self
Level of proofterm recording: 0, 1, 2, negative means unchanged
Sourcepub fn quick_and_dirty(&mut self, flag: bool) -> &mut Self
pub fn quick_and_dirty(&mut self, flag: bool) -> &mut Self
If true then some tools will OMIT some proofs
Sourcepub fn skip_proofs(&mut self, flag: bool) -> &mut Self
pub fn skip_proofs(&mut self, flag: bool) -> &mut Self
If true then skips over proofs (implicit ‘sorry’)
pub fn timeout_build(&mut self, flag: bool) -> &mut Self
Sourcepub fn process_output_limit(&mut self, limit: isize) -> &mut Self
pub fn process_output_limit(&mut self, limit: isize) -> &mut Self
Build process output limit (in million characters, 0 = unlimited)
Sourcepub fn process_output_tail(&mut self, tail: isize) -> &mut Self
pub fn process_output_tail(&mut self, tail: isize) -> &mut Self
Build process output tail shown to user (in lines, 0 = unlimited)
pub fn pide_reports(&mut self, flag: bool) -> &mut Self
pub fn build_pide_reports(&mut self, flag: bool) -> &mut Self
Trait Implementations§
Source§impl Default for OptionsBuilder
impl Default for OptionsBuilder
Source§fn default() -> OptionsBuilder
fn default() -> OptionsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OptionsBuilder
impl RefUnwindSafe for OptionsBuilder
impl Send for OptionsBuilder
impl Sync for OptionsBuilder
impl Unpin for OptionsBuilder
impl UnwindSafe for OptionsBuilder
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