pub struct EraseConfig {
pub keep_props: bool,
pub inline_defs: bool,
}Expand description
Configuration for the type eraser.
Fields§
§keep_props: boolWhen true, keep Prop-sorted terms (proofs) as TypeErased rather
than dropping them entirely.
inline_defs: boolWhen true, inline small definitions before erasure.
Trait Implementations§
Source§impl Clone for EraseConfig
impl Clone for EraseConfig
Source§fn clone(&self) -> EraseConfig
fn clone(&self) -> EraseConfig
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 EraseConfig
impl Debug for EraseConfig
Source§impl Default for EraseConfig
impl Default for EraseConfig
Source§fn default() -> EraseConfig
fn default() -> EraseConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for EraseConfig
impl PartialEq for EraseConfig
impl Eq for EraseConfig
impl StructuralPartialEq for EraseConfig
Auto Trait Implementations§
impl Freeze for EraseConfig
impl RefUnwindSafe for EraseConfig
impl Send for EraseConfig
impl Sync for EraseConfig
impl Unpin for EraseConfig
impl UnsafeUnpin for EraseConfig
impl UnwindSafe for EraseConfig
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