pub struct SolveConfig {
pub max_depth: usize,
pub max_solutions: usize,
pub occurs_check: bool,
}Expand description
Configuration for the SLD resolution engine.
Fields§
§max_depth: usizeMaximum recursion depth before failing with an error.
max_solutions: usizeMaximum number of solutions to collect.
occurs_check: boolWhether to perform the occurs check during unification.
Implementations§
Source§impl SolveConfig
impl SolveConfig
Trait Implementations§
Source§impl Clone for SolveConfig
impl Clone for SolveConfig
Source§fn clone(&self) -> SolveConfig
fn clone(&self) -> SolveConfig
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 SolveConfig
impl Debug for SolveConfig
Auto Trait Implementations§
impl Freeze for SolveConfig
impl RefUnwindSafe for SolveConfig
impl Send for SolveConfig
impl Sync for SolveConfig
impl Unpin for SolveConfig
impl UnsafeUnpin for SolveConfig
impl UnwindSafe for SolveConfig
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