pub struct ParsingOptions {
pub is_lax: bool,
}Expand description
Options for parsing.
The is only one available option so far is_lax which can be set to
true or false to enable/disable obsolete parts parsing.
The default is false.
Fields§
§is_lax: boolImplementations§
Source§impl ParsingOptions
impl ParsingOptions
pub fn new(is_lax: bool) -> ParsingOptions
Trait Implementations§
Source§impl Clone for ParsingOptions
impl Clone for ParsingOptions
Source§fn clone(&self) -> ParsingOptions
fn clone(&self) -> ParsingOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParsingOptions
impl Debug for ParsingOptions
Auto Trait Implementations§
impl Freeze for ParsingOptions
impl RefUnwindSafe for ParsingOptions
impl Send for ParsingOptions
impl Sync for ParsingOptions
impl Unpin for ParsingOptions
impl UnwindSafe for ParsingOptions
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