pub struct CheckConfig {
pub check_type_is_sort: bool,
pub check_value_type: bool,
pub check_no_free_vars: bool,
pub max_depth: u32,
pub allow_axioms: bool,
}Expand description
Configuration for declaration checking.
Controls what level of checking is performed and whether certain optional checks are enabled.
Fields§
§check_type_is_sort: boolWhether to check that the declared type is a sort.
check_value_type: boolWhether to check that the value has the declared type.
check_no_free_vars: boolWhether to check for free variables in the type and value.
max_depth: u32Maximum depth for type inference (0 = unlimited).
allow_axioms: boolWhether to allow axioms (false = proof-irrelevant mode).
Implementations§
Trait Implementations§
Source§impl Clone for CheckConfig
impl Clone for CheckConfig
Source§fn clone(&self) -> CheckConfig
fn clone(&self) -> CheckConfig
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 CheckConfig
impl Debug for CheckConfig
Auto Trait Implementations§
impl Freeze for CheckConfig
impl RefUnwindSafe for CheckConfig
impl Send for CheckConfig
impl Sync for CheckConfig
impl Unpin for CheckConfig
impl UnsafeUnpin for CheckConfig
impl UnwindSafe for CheckConfig
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