Skip to main content

asset_bytes

Function asset_bytes 

Source
pub fn asset_bytes<A: Embed>(name: &str) -> Option<Vec<u8>>
Expand description

Load raw bytes from the embedded dist directory. Returns None if missing.