pub struct StdLibStats {
pub total_modules: usize,
pub default_modules: usize,
pub per_phase: [usize; 5],
}Expand description
Standard library module statistics.
Fields§
§total_modules: usizeTotal modules registered.
default_modules: usizeModules enabled by default.
per_phase: [usize; 5]Modules per build phase.
Implementations§
Source§impl StdLibStats
impl StdLibStats
Sourcepub fn all_phases_populated(&self) -> bool
pub fn all_phases_populated(&self) -> bool
Check if all phases have at least one module.
Sourcepub fn phase_total(&self) -> usize
pub fn phase_total(&self) -> usize
Get total modules across all phases.
Trait Implementations§
Source§impl Clone for StdLibStats
impl Clone for StdLibStats
Source§fn clone(&self) -> StdLibStats
fn clone(&self) -> StdLibStats
Returns a duplicate of the value. Read more
1.0.0 · 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 StdLibStats
impl Debug for StdLibStats
Source§impl Default for StdLibStats
impl Default for StdLibStats
Source§fn default() -> StdLibStats
fn default() -> StdLibStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StdLibStats
impl RefUnwindSafe for StdLibStats
impl Send for StdLibStats
impl Sync for StdLibStats
impl Unpin for StdLibStats
impl UnsafeUnpin for StdLibStats
impl UnwindSafe for StdLibStats
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