pub fn type_scalar_definitions<D: Dialect>( f: &mut Formatter<'_>, scalars: &[(Elem<D>, usize)], ) -> Result