manage 0.12.0

Manage assets and other resources
Documentation
1
2
3
4
5
6
use std::path::Path;

pub trait ResourceLoader: Sized {
    fn load_path(path: &Path) -> Self;
    fn load_data(data: &[u8], name: impl ToString) -> Self;
}