pub struct RLogicConfig {
pub enable_tracking: bool,
pub safe_nan_handling: bool,
pub recursion_limit: usize,
}Expand description
Configuration options for RLogic engine
Fields§
§enable_tracking: boolEnable data mutation tracking (enabled by default, required for safety) All data mutations are gated through EvalData when enabled
safe_nan_handling: boolSafely ignore NaN errors in math operations (return 0 instead)
recursion_limit: usizeMaximum recursion depth for evaluation
Implementations§
Source§impl RLogicConfig
impl RLogicConfig
Sourcepub fn performance() -> Self
pub fn performance() -> Self
Performance-optimized config (tracking disabled, no NaN safety)
Sourcepub fn with_tracking(self, enable: bool) -> Self
pub fn with_tracking(self, enable: bool) -> Self
Builder pattern methods
pub fn with_safe_nan(self, enable: bool) -> Self
pub fn with_recursion_limit(self, limit: usize) -> Self
Trait Implementations§
Source§impl Clone for RLogicConfig
impl Clone for RLogicConfig
Source§fn clone(&self) -> RLogicConfig
fn clone(&self) -> RLogicConfig
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 RLogicConfig
impl Debug for RLogicConfig
Source§impl Default for RLogicConfig
impl Default for RLogicConfig
impl Copy for RLogicConfig
Auto Trait Implementations§
impl Freeze for RLogicConfig
impl RefUnwindSafe for RLogicConfig
impl Send for RLogicConfig
impl Sync for RLogicConfig
impl Unpin for RLogicConfig
impl UnwindSafe for RLogicConfig
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