pub struct LexerConfig {
pub tab_size: usize,
}
Expand description
Manages all configuration for tokenization
Fields§
§tab_size: usize
Trait Implementations§
Source§impl Debug for LexerConfig
impl Debug for LexerConfig
Source§impl Default for LexerConfig
impl Default for LexerConfig
Source§impl<'de> Deserialize<'de> for LexerConfig
impl<'de> Deserialize<'de> for LexerConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LexerConfig
impl RefUnwindSafe for LexerConfig
impl Send for LexerConfig
impl Sync for LexerConfig
impl Unpin for LexerConfig
impl UnwindSafe for LexerConfig
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