Skip to main content

fontmap

Macro fontmap 

Source
macro_rules! fontmap {
    ($($key:ident => $value:expr_2021),*) => { ... };
}
Expand description

Instantiates a Font, using the Font fields as keys, and calling .into() for each value. The specification can be partial - missing fields are taken via the Default trait.