Skip to main content

fit_size

Function fit_size 

Source
pub fn fit_size(m: &mut Macro) -> usize
Expand description

Leaves out the last top-level steps of m until it fits the size [check_size] allows, and returns how many steps it left out (a recording cut to fit, as at the step limit). Each step’s JSON is measured once.