pub struct SimplifyConfig {
pub intermediate_rounds: usize,
pub enable_global_dedup: bool,
}Expand description
Staged simplification configuration parameters.
Fields§
§intermediate_rounds: usizeNumber of intermediate local simplification rounds to perform.
enable_global_dedup: boolWhether to trigger global deduplication and constant folding.
Implementations§
Source§impl SimplifyConfig
impl SimplifyConfig
Sourcepub const fn intermediate_rounds(self, rounds: usize) -> Self
pub const fn intermediate_rounds(self, rounds: usize) -> Self
Sets the number of intermediate local simplification rounds.
Trait Implementations§
Source§impl Clone for SimplifyConfig
impl Clone for SimplifyConfig
Source§fn clone(&self) -> SimplifyConfig
fn clone(&self) -> SimplifyConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SimplifyConfig
impl Debug for SimplifyConfig
Source§impl Default for SimplifyConfig
impl Default for SimplifyConfig
impl Copy for SimplifyConfig
Auto Trait Implementations§
impl Freeze for SimplifyConfig
impl RefUnwindSafe for SimplifyConfig
impl Send for SimplifyConfig
impl Sync for SimplifyConfig
impl Unpin for SimplifyConfig
impl UnsafeUnpin for SimplifyConfig
impl UnwindSafe for SimplifyConfig
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