pub struct ParseMode {
pub allow_tactics: bool,
pub recover_on_error: bool,
pub lenient: bool,
}Expand description
Flags controlling parser behavior.
Fields§
§allow_tactics: boolWhether to allow tactics inside term mode.
recover_on_error: boolWhether to recover from errors (continue after first error).
lenient: boolWhether to parse in lenient mode (accept partial expressions).
Implementations§
Trait Implementations§
impl Copy for ParseMode
impl Eq for ParseMode
impl StructuralPartialEq for ParseMode
Auto Trait Implementations§
impl Freeze for ParseMode
impl RefUnwindSafe for ParseMode
impl Send for ParseMode
impl Sync for ParseMode
impl Unpin for ParseMode
impl UnsafeUnpin for ParseMode
impl UnwindSafe for ParseMode
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