pub struct ModuleCounts {
pub funcs: usize,
pub globals: usize,
pub aliases: usize,
pub metadata: usize,
pub data_bytes: usize,
}Expand description
How much is in a module, from Module::counts.
Fields§
§funcs: usizeFunctions, defined and declared.
globals: usizeGlobal variables, defined and declared.
aliases: usizeAliases and ifuncs.
metadata: usizeMetadata nodes.
data_bytes: usizeBytes in the byte pool, which is the bulk of what a module with large initializers weighs.
Trait Implementations§
Source§impl Clone for ModuleCounts
impl Clone for ModuleCounts
Source§fn clone(&self) -> ModuleCounts
fn clone(&self) -> ModuleCounts
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 moreimpl Copy for ModuleCounts
Source§impl Debug for ModuleCounts
impl Debug for ModuleCounts
impl Eq for ModuleCounts
Source§impl PartialEq for ModuleCounts
impl PartialEq for ModuleCounts
impl StructuralPartialEq for ModuleCounts
Auto Trait Implementations§
impl Freeze for ModuleCounts
impl RefUnwindSafe for ModuleCounts
impl Send for ModuleCounts
impl Sync for ModuleCounts
impl Unpin for ModuleCounts
impl UnsafeUnpin for ModuleCounts
impl UnwindSafe for ModuleCounts
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