pub struct StringConfig {
pub quotes: &'static [char],
pub escape: Option<char>,
}Expand description
Configuration for string scanning
Fields§
§quotes: &'static [char]Quote characters that can start/end strings
escape: Option<char>Custom escape characters (default is backslash)
Implementations§
Source§impl StringConfig
impl StringConfig
Trait Implementations§
Source§impl Clone for StringConfig
impl Clone for StringConfig
Source§fn clone(&self) -> StringConfig
fn clone(&self) -> StringConfig
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 StringConfig
impl Debug for StringConfig
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