pub struct ScannerOptions {
pub allow_single_quoted_strings: bool,
pub allow_hexadecimal_numbers: bool,
pub allow_unary_plus_numbers: bool,
}Expand description
Options for the scanner.
Fields§
§allow_single_quoted_strings: boolAllow single-quoted strings (defaults to true).
allow_hexadecimal_numbers: boolAllow hexadecimal numbers like 0xFF (defaults to true).
allow_unary_plus_numbers: boolAllow unary plus sign on numbers like +42 (defaults to true).
Trait Implementations§
Source§impl Debug for ScannerOptions
impl Debug for ScannerOptions
Auto Trait Implementations§
impl Freeze for ScannerOptions
impl RefUnwindSafe for ScannerOptions
impl Send for ScannerOptions
impl Sync for ScannerOptions
impl Unpin for ScannerOptions
impl UnwindSafe for ScannerOptions
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