/// HACK! This function is used to generate a struct that gives us quick access
/// to a `&mut std::fmt::Formatter` which is used extensively throughout the `private` module.
///
/// This allows us to design & expose an API that can return `String` directly, but reuses the same
/// code we've already written that writes to a `&mut std::fmt::Formatter` internally, thereby
/// avoiding code duplication from generics.