Skip to main content

AssetLookup

Type Alias AssetLookup 

Source
pub type AssetLookup = fn(&str) -> Option<&'static [u8]>;
Expand description

A packaged app’s asset store: app-root-relative key → bytes (mapped in the exe for the process’s life).