pub struct StdFeatures {
pub classical: bool,
pub propext: bool,
pub funext: bool,
pub quotient: bool,
pub category_theory: bool,
pub topology: bool,
pub reals: bool,
}Expand description
Feature flags for optional standard library components.
Fields§
§classical: boolEnable classical logic axioms (excluded middle, choice).
propext: boolEnable propext (propositional extensionality).
funext: boolEnable funext (function extensionality).
quotient: boolEnable quotient types.
category_theory: boolEnable experimental category theory module.
topology: boolEnable topology module.
reals: boolEnable real number support.
Implementations§
Source§impl StdFeatures
impl StdFeatures
Sourcepub fn default_features() -> Self
pub fn default_features() -> Self
Create the default feature set (classical logic enabled by default).
Sourcepub fn count_enabled(&self) -> usize
pub fn count_enabled(&self) -> usize
Count how many features are enabled.
Trait Implementations§
Source§impl Clone for StdFeatures
impl Clone for StdFeatures
Source§fn clone(&self) -> StdFeatures
fn clone(&self) -> StdFeatures
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 StdFeatures
impl Debug for StdFeatures
Source§impl Default for StdFeatures
impl Default for StdFeatures
Source§fn default() -> StdFeatures
fn default() -> StdFeatures
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StdFeatures
impl RefUnwindSafe for StdFeatures
impl Send for StdFeatures
impl Sync for StdFeatures
impl Unpin for StdFeatures
impl UnsafeUnpin for StdFeatures
impl UnwindSafe for StdFeatures
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