wayvr/wgui/src/assets.rs

4 lines
98 B
Rust

pub trait AssetProvider {
fn load_from_path(&mut self, path: &str) -> anyhow::Result<Vec<u8>>;
}