use Write;
use crateFont;
/// Function that formats the URL at which a [`Font`]'s CSS is hosted by the
/// router into a `dyn Write`.
pub type ResolveFontRouteFn = dyn Fn + Send + Sync;
/// Function registered with the app context that resolves a [`Font`] to its
/// hosted stylesheet URL.
///
/// Registered by [`RouterBuilderFontExt`](crate::RouterBuilderFontExt)
/// when a font is added to the router, and read when a [`Font`] is used as an
/// attribute value in the `view!` macro.