pub struct RewriteConfig {
pub max_steps: usize,
pub strategy: RewriteStrategy,
pub detect_cycles: bool,
pub trace: bool,
pub max_expr_size: Option<usize>,
}Expand description
Configuration for the advanced rewrite system.
Fields§
§max_steps: usizeMaximum number of rewrite steps before termination
strategy: RewriteStrategyStrategy for rule application
detect_cycles: boolEnable termination detection
trace: boolEnable detailed tracing
max_expr_size: Option<usize>Maximum expression size to prevent exponential blowup
Trait Implementations§
Source§impl Clone for RewriteConfig
impl Clone for RewriteConfig
Source§fn clone(&self) -> RewriteConfig
fn clone(&self) -> RewriteConfig
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 RewriteConfig
impl Debug for RewriteConfig
Auto Trait Implementations§
impl Freeze for RewriteConfig
impl RefUnwindSafe for RewriteConfig
impl Send for RewriteConfig
impl Sync for RewriteConfig
impl Unpin for RewriteConfig
impl UnwindSafe for RewriteConfig
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