Skip to main content

Crate mensura_macros

Crate mensura_macros 

Source
Expand description

Procedural macros for mensura.

Use them through the mensura crate — they expand to paths rooted at ::mensura, so the crate must be reachable under that name.

Macros§

count
Records a measurement with an implied count = 1 field.
measure
Records a measurement.
timer
Starts a Timer that records time = <elapsed> when it is dropped.