pub struct IndexSummary {
pub files: usize,
pub new_files: usize,
pub functions: usize,
pub indexed_functions: usize,
}Expand description
Result of Database::index.
Fields§
§files: usizeFiles given to Database::index.
new_files: usizeFiles whose content was not in the database yet.
functions: usizeFunctions stored from new files.
indexed_functions: usizeOf functions, those with fingerprints.
Trait Implementations§
Source§impl Clone for IndexSummary
impl Clone for IndexSummary
Source§impl Debug for IndexSummary
impl Debug for IndexSummary
Source§impl Default for IndexSummary
impl Default for IndexSummary
Auto Trait Implementations§
impl Freeze for IndexSummary
impl RefUnwindSafe for IndexSummary
impl Send for IndexSummary
impl Sync for IndexSummary
impl Unpin for IndexSummary
impl UnsafeUnpin for IndexSummary
impl UnwindSafe for IndexSummary
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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