pub struct MassCaller(/* private fields */);Expand description
Names the call site for every integrator call made while it is alive, so
the mass.identity line can say WHO paid for the integral rather than
leaving a log reader to infer it from the neighbouring profile lines.
Diagnostic only: nothing but the identity line reads it, and the identity
line only exists under BREP_PROFILE_MASS_IDENTITY /
BREP_PROFILE_MASS_DUMP. The guard restores the previous name on drop so
a labelled site nested inside another labelled site reports itself and
then hands the outer name back.
Trait Implementations§
Source§impl Drop for MassCaller
impl Drop for MassCaller
Auto Trait Implementations§
impl Freeze for MassCaller
impl RefUnwindSafe for MassCaller
impl Send for MassCaller
impl Sync for MassCaller
impl Unpin for MassCaller
impl UnsafeUnpin for MassCaller
impl UnwindSafe for MassCaller
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