(path: P)
| 16 | } |
| 17 | |
| 18 | pub fn load_bytes<P: ResPathSource>(path: P) -> io::Result<Vec<u8>> { |
| 19 | load_asset(path.as_res_path_str()) |
| 20 | } |
| 21 | |
| 22 | pub fn load_string<P: ResPathSource>(path: P) -> io::Result<String> { |
| 23 | let bytes = load_bytes(path)?; |
no test coverage detected