pub enum ParserFeature {
Streaming,
ErrorRecovery,
SyntaxHighlighting,
CodeCompletion,
AstTransformation,
CustomOperators,
Parallel,
Caching,
OnlineValidation,
Profiling,
}Expand description
Parser features that can be enabled/disabled
Variants§
Streaming
Support for streaming/incremental parsing
ErrorRecovery
Enhanced error recovery
SyntaxHighlighting
Syntax highlighting support
CodeCompletion
Code completion support
AstTransformation
AST transformation support
CustomOperators
Custom operator support
Parallel
Parallel parsing support
Caching
Caching of parse results
OnlineValidation
Validation during parsing
Profiling
Performance profiling
Trait Implementations§
Source§impl Clone for ParserFeature
impl Clone for ParserFeature
Source§fn clone(&self) -> ParserFeature
fn clone(&self) -> ParserFeature
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 moreSource§impl Debug for ParserFeature
impl Debug for ParserFeature
Source§impl<'de> Deserialize<'de> for ParserFeature
impl<'de> Deserialize<'de> for ParserFeature
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
Source§impl PartialEq for ParserFeature
impl PartialEq for ParserFeature
Source§fn eq(&self, other: &ParserFeature) -> bool
fn eq(&self, other: &ParserFeature) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ParserFeature
impl Serialize for ParserFeature
impl StructuralPartialEq for ParserFeature
Auto Trait Implementations§
impl Freeze for ParserFeature
impl RefUnwindSafe for ParserFeature
impl Send for ParserFeature
impl Sync for ParserFeature
impl Unpin for ParserFeature
impl UnsafeUnpin for ParserFeature
impl UnwindSafe for ParserFeature
Blanket Implementations§
impl<T> Allocation for T
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