pub(crate) trait ProofTreeVisitor<'db> {
type Result: VisitorResult;
// Required methods
fn span(&self) -> Span;
fn visit_goal(&mut self, goal: &InspectGoal<'_, 'db>) -> Self::Result;
// Provided methods
fn config(&self) -> InspectConfig { ... }
fn on_recursion_limit(&mut self) -> Self::Result { ... }
}Expand description
The public API to interact with proof trees.
Required Associated Types§
Required Methods§
fn span(&self) -> Span
fn visit_goal(&mut self, goal: &InspectGoal<'_, 'db>) -> Self::Result
Provided Methods§
fn config(&self) -> InspectConfig
fn on_recursion_limit(&mut self) -> Self::Result
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".