pub struct MetaFeatures {
pub discr_tree: bool,
pub whnf_cache: bool,
pub proof_recording: bool,
pub instance_synth: bool,
pub congr_lemmas: bool,
}Expand description
Feature flags for the meta layer.
Fields§
§discr_tree: boolEnable discrimination tree indexing for simp lemmas.
whnf_cache: boolEnable memoization of WHNF results.
proof_recording: boolEnable proof term recording.
instance_synth: boolEnable instance synthesis.
congr_lemmas: boolEnable congr-lemma automation.
Implementations§
Source§impl MetaFeatures
impl MetaFeatures
Sourcepub fn all_enabled() -> Self
pub fn all_enabled() -> Self
All features enabled.
Sourcepub fn any_caching(&self) -> bool
pub fn any_caching(&self) -> bool
Whether at least one caching feature is enabled.
Trait Implementations§
Source§impl Clone for MetaFeatures
impl Clone for MetaFeatures
Source§fn clone(&self) -> MetaFeatures
fn clone(&self) -> MetaFeatures
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 MetaFeatures
impl Debug for MetaFeatures
Auto Trait Implementations§
impl Freeze for MetaFeatures
impl RefUnwindSafe for MetaFeatures
impl Send for MetaFeatures
impl Sync for MetaFeatures
impl Unpin for MetaFeatures
impl UnsafeUnpin for MetaFeatures
impl UnwindSafe for MetaFeatures
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