pub trait HasRecursiveInfo {
// Required methods
fn get_recursive_info(&self) -> RecursiveInfo;
fn set_recursive_info(self, info: RecursiveInfo) -> Self;
}
Expand description
Trait for recursive tracer
The input type of nom parser must implement this.
Required Methods§
fn get_recursive_info(&self) -> RecursiveInfo
fn set_recursive_info(self, info: RecursiveInfo) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.