Struct conrod_core::text::font::Map [−][src]
pub struct Map { /* fields omitted */ }
Expand description
A collection of mappings from font::Id
s to rusttype::Font
s.
Implementations
Borrow the rusttype::Font
associated with the given font::Id
.
Adds the given rusttype::Font
to the Map
and returns a unique Id
for it.
Insert a single Font
into the map by loading it from the given file path.