pub struct LexerConfig {
pub max_input_bytes: usize,
pub max_tokens: usize,
pub max_block_comment_depth: usize,
}Fields§
§max_input_bytes: usize§max_tokens: usize§max_block_comment_depth: usizeTrait Implementations§
Source§impl Clone for LexerConfig
impl Clone for LexerConfig
Source§fn clone(&self) -> LexerConfig
fn clone(&self) -> LexerConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LexerConfig
Source§impl Debug for LexerConfig
impl Debug for LexerConfig
Source§impl Default for LexerConfig
impl Default for LexerConfig
Source§fn default() -> LexerConfig
fn default() -> LexerConfig
Returns the “default value” for a type. Read more
impl Eq for LexerConfig
Source§impl PartialEq for LexerConfig
impl PartialEq for LexerConfig
impl StructuralPartialEq for LexerConfig
Auto Trait Implementations§
impl Freeze for LexerConfig
impl RefUnwindSafe for LexerConfig
impl Send for LexerConfig
impl Sync for LexerConfig
impl Unpin for LexerConfig
impl UnsafeUnpin 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