Skip to main content Crate topcoat_font Copy item path Source fontsource fontsourceCodePointOutOfRangeError Error returned when converting a u32 greater than U+10FFFF into a
UnicodeCodePoint . EmptyFontFacesError Error returned when converting an empty collection into FontFaces . EmptyFontSourcesError Error returned when converting an empty collection into FontSources . Font A lightweight, Copy handle to a font. FontData The owned data backing a Font : its family name, its faces, and the
content hash derived from them. FontFace A single CSS @font-face rule: a font family backed by one set of sources,
scoped to an optional weight range, style, display strategy, and unicode
range. FontFaces An ordered, non-empty list of FontFace s. FontResolver Function registered with the app context that resolves a Font to its
hosted stylesheet URL. FontRoute routerFontSources An ordered, non-empty list of FontSource s, the value of a CSS
@font-face src descriptor. FontWeight A font weight: an integer in 100..=900. FontWeightOutOfRangeError Error returned when converting a u16 outside 100..=900 into a
FontWeight . FontWeightRange An inclusive range of FontWeight s, as carried by a variable font. LinkProps viewLoads a Font into the page. LinkPropsBuilder viewTypestate builder for LinkProps , created by LinkProps::builder() . build() becomes available once every required property has been set. ObliqueAngle An oblique slant angle in degrees, in -90.0..=90.0. ObliqueAngleOutOfRangeError Error returned when converting an angle outside -90.0..=90.0 degrees into
an ObliqueAngle . ObliqueAngleRange An inclusive range of ObliqueAngle s, as carried by a variable font. PreloadLinkProps viewRenders a rel="preload" <link> for a single font FontSource . PreloadLinkPropsBuilder viewTypestate builder for PreloadLinkProps , created by PreloadLinkProps::builder() . build() becomes available once every required property has been set. UnicodeCodePoint A Unicode code point: an integer in U+0000..=U+10FFFF. UnicodeRange An inclusive range of UnicodeCodePoint s. UnicodeRanges A set of UnicodeRange s, the value of a CSS unicode-range descriptor. link viewLoads a Font into the page. preload_link viewRenders a rel="preload" <link> for a single font FontSource . FontDisplay How a font face is displayed while it loads, as named by the CSS
font-display descriptor of an @font-face rule. FontFormat A font file format, as named by the format() hint of a CSS @font-face
src descriptor. FontSource A single entry of a CSS @font-face src descriptor. FontSourceUrl The location of a font file, the URL of a url() entry in a CSS
@font-face src descriptor. FontStyle The style axis of a font face: upright, italic, or oblique. FontTech A font technology, as named by the tech() hint of a CSS @font-face
src descriptor. RouterBuilderFontExt routerResolveFontRouteFn Function that formats the URL at which a Font ’s CSS is hosted by the
router into a dyn Write.