pub struct StringConfig {
pub quotes: &'static [char],
pub escape: Option<char>,
}Expand description
Configuration for string literal scanning.
Fields§
§quotes: &'static [char]Characters that can start and end a string (e.g., ‘“’, ‘'’).
escape: Option<char>Character used for escaping (e.g., ‘\’).
Implementations§
Auto Trait Implementations§
impl Freeze for StringConfig
impl RefUnwindSafe for StringConfig
impl Send for StringConfig
impl Sync for StringConfig
impl Unpin for StringConfig
impl UnwindSafe for StringConfig
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