pub struct MacroChunkReport {
pub path: String,
pub line: usize,
pub macro_name: String,
pub runs: usize,
pub static_bytes: usize,
pub largest_run: usize,
pub text_slots: usize,
pub attr_slots: usize,
}Fields§
§path: String§line: usize§macro_name: String§runs: usizeNumber of consolidated static runs.
static_bytes: usizeTotal bytes across static runs (estimate).
largest_run: usizeLargest single static run in bytes (estimate).
text_slots: usizeDynamic text/child slots ({expr} nodes).
attr_slots: usizeDynamic attribute value slots (attr={expr}).
Trait Implementations§
Source§impl Debug for MacroChunkReport
impl Debug for MacroChunkReport
Auto Trait Implementations§
impl Freeze for MacroChunkReport
impl RefUnwindSafe for MacroChunkReport
impl Send for MacroChunkReport
impl Sync for MacroChunkReport
impl Unpin for MacroChunkReport
impl UnsafeUnpin for MacroChunkReport
impl UnwindSafe for MacroChunkReport
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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