pub struct DeriveIndexStats {
pub symbols_with_derives: usize,
pub total_derives: usize,
pub symbols_with_fields: usize,
pub total_field_types: usize,
}Expand description
Statistics about the DeriveIndex.
Fields§
§symbols_with_derives: usizeNumber of distinct symbols that carry at least one #[derive(...)].
total_derives: usizeSum of derive entries across all symbols (counts duplicates per symbol).
symbols_with_fields: usizeNumber of distinct symbols that have at least one indexed field type.
total_field_types: usizeSum of indexed field-type entries across all symbols.
Trait Implementations§
Source§impl Clone for DeriveIndexStats
impl Clone for DeriveIndexStats
Source§fn clone(&self) -> DeriveIndexStats
fn clone(&self) -> DeriveIndexStats
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 moreAuto Trait Implementations§
impl Freeze for DeriveIndexStats
impl RefUnwindSafe for DeriveIndexStats
impl Send for DeriveIndexStats
impl Sync for DeriveIndexStats
impl Unpin for DeriveIndexStats
impl UnsafeUnpin for DeriveIndexStats
impl UnwindSafe for DeriveIndexStats
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