pub struct IncrementalConfig {
pub enabled: bool,
pub target_parse_time_ms: f64,
pub max_cache_size: usize,
}Expand description
Configuration for incremental parsing
Fields§
§enabled: boolEnable incremental parsing
target_parse_time_ms: f64Target parse time in milliseconds
max_cache_size: usizeMaximum cache size for subtrees
Trait Implementations§
Source§impl Default for IncrementalConfig
impl Default for IncrementalConfig
Source§fn default() -> IncrementalConfig
fn default() -> IncrementalConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IncrementalConfig
impl RefUnwindSafe for IncrementalConfig
impl Send for IncrementalConfig
impl Sync for IncrementalConfig
impl Unpin for IncrementalConfig
impl UnsafeUnpin for IncrementalConfig
impl UnwindSafe for IncrementalConfig
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