pub struct SemanticBudget {
pub max_changed_files: usize,
pub max_total_bytes: usize,
pub max_parsed_files: usize,
pub max_file_bytes: usize,
}Expand description
Resource limits used by semantic analysis.
Fields§
§max_changed_files: usizeMaximum number of changed files to analyze semantically.
max_total_bytes: usizeMaximum total bytes to load across changed files.
max_parsed_files: usizeMaximum number of files that may be parsed structurally.
max_file_bytes: usizeMaximum file size eligible for parsing.
Implementations§
Trait Implementations§
Source§impl Clone for SemanticBudget
impl Clone for SemanticBudget
Source§fn clone(&self) -> SemanticBudget
fn clone(&self) -> SemanticBudget
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 SemanticBudget
impl Debug for SemanticBudget
Source§impl Default for SemanticBudget
impl Default for SemanticBudget
Source§impl PartialEq for SemanticBudget
impl PartialEq for SemanticBudget
Source§fn eq(&self, other: &SemanticBudget) -> bool
fn eq(&self, other: &SemanticBudget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SemanticBudget
impl StructuralPartialEq for SemanticBudget
Auto Trait Implementations§
impl Freeze for SemanticBudget
impl RefUnwindSafe for SemanticBudget
impl Send for SemanticBudget
impl Sync for SemanticBudget
impl Unpin for SemanticBudget
impl UnsafeUnpin for SemanticBudget
impl UnwindSafe for SemanticBudget
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