Skip to main content

is_generic

Function is_generic 

Source
pub fn is_generic(name: &str) -> bool
Expand description

Whether a name is a generic one (sans-serif, serif, monospace, system-ui, ui-monospace): it stands for the bundled fonts (egui-pop’s with bundled-fonts, else egui’s), so it is always found. A list ending with one always draws.