pub struct Settings {
pub ignore_comments: bool,
pub create_position_map: bool,
}
Expand description
Struct with settings that’s used during parsing.
Fields§
§ignore_comments: bool
Sets if the parser will make comment tokens or not.
create_position_map: bool
Sets if the parser will put the tokens into a map, where one can get a token from file position.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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