Skip to main content

handler_for

Function handler_for 

Source
pub fn handler_for(type_name: &str) -> Option<&'static dyn AssetTypeHandler>
Expand description

Lookup the handler for a given asset_type_name. Returns None only if no built-in or plugin handler matched (caller should fall back to the unknown-type tile + open-external behaviour).