pub struct ToLcnfConfig {
pub erase_proofs: bool,
pub erase_types: bool,
pub lambda_lift: bool,
pub max_inline_size: usize,
pub debug_names: bool,
}Expand description
Configuration for the kernel Expr to LCNF conversion.
Controls which passes are enabled and how aggressively they are applied.
Fields§
§erase_proofs: boolWhether to erase proof terms (Prop-sorted expressions).
erase_types: boolWhether to erase type arguments.
lambda_lift: boolWhether to perform lambda lifting.
max_inline_size: usizeMaximum size (in AST nodes) for a lambda to be left inline.
debug_names: boolWhether to generate debug-friendly names.
Implementations§
Trait Implementations§
Source§impl Clone for ToLcnfConfig
impl Clone for ToLcnfConfig
Source§fn clone(&self) -> ToLcnfConfig
fn clone(&self) -> ToLcnfConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ToLcnfConfig
impl Debug for ToLcnfConfig
Auto Trait Implementations§
impl Freeze for ToLcnfConfig
impl RefUnwindSafe for ToLcnfConfig
impl Send for ToLcnfConfig
impl Sync for ToLcnfConfig
impl Unpin for ToLcnfConfig
impl UnsafeUnpin for ToLcnfConfig
impl UnwindSafe for ToLcnfConfig
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