1 2 3 4 5 6 7 8 9 10 11 12 13 14
mod icon_plugin; mod vscode; pub use { icon_plugin::IconPlugin, }; pub fn icon_plugin(icon_set: &str) -> Option<Box<dyn IconPlugin + Send + Sync>> { match icon_set { "vscode" => Some(Box::new(vscode::VSCodeIconPlugin::new())), _ => None, } }