pub struct IncrementalAnalyzer { /* private fields */ }Implementations§
Source§impl IncrementalAnalyzer
impl IncrementalAnalyzer
pub fn new(config: Config) -> Self
pub fn analyze_files(&mut self, files: Vec<PathBuf>) -> IncrementalResults
pub fn invalidate_file(&mut self, path: &Path)
pub fn get_cache_stats(&self) -> CacheStats
pub fn save_cache(&mut self) -> Result<(), Box<dyn Error>>
Auto Trait Implementations§
impl !RefUnwindSafe for IncrementalAnalyzer
impl !UnwindSafe for IncrementalAnalyzer
impl Freeze for IncrementalAnalyzer
impl Send for IncrementalAnalyzer
impl Sync for IncrementalAnalyzer
impl Unpin for IncrementalAnalyzer
impl UnsafeUnpin for IncrementalAnalyzer
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more