pub struct ParseOptions {
pub convert_mixed_case_identifiers: bool,
pub lenient: bool,
}
Expand description
Fields§
§convert_mixed_case_identifiers: bool
Whether to allow conversion of FF[3] mixed case identifiers to FF[4].
All lower case letters are dropped. This should allow parsing any older files which are valid, but not valid FF[4].
lenient: bool
Whether to use lenient parsing.
In lenient mode, the parser should never return an error, but will instead parse the SGF until it hits an error, and then return whatever it’s managed to parse.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParseOptions
impl RefUnwindSafe for ParseOptions
impl Send for ParseOptions
impl Sync for ParseOptions
impl Unpin for ParseOptions
impl UnwindSafe for ParseOptions
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