pub type BeforeBuild<D> = Arc<dyn Fn(&mut Builder<D>) -> Result<()> + Send + Sync>;
A callback run at the start of every build, with the builder.
pub struct BeforeBuild<D> { /* private fields */ }