Skip to main content

oxilean_parse/parser/
parsemode_traits.rs

1//! # ParseMode - Trait Implementations
2//!
3//! This module contains trait implementations for `ParseMode`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Display`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::ParseMode;
12
13impl std::fmt::Display for ParseMode {
14    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
15        write!(
16            f,
17            "ParseMode(tactics={}, recover={}, lenient={})",
18            self.allow_tactics, self.recover_on_error, self.lenient
19        )
20    }
21}