bevy/crates/bevy_asset/src
IceSentry 4ff50f6b50 fix load_internal_binary_asset with debug_asset_server (#7246)
# Objective

- Enabling the `debug_asset_server` feature doesn't compile when using it with `load_internal_binary_asset!()`. The issue is because it assumes the loader takes an `&'static str` as a parameter, but binary assets loader expect `&'static [u8]`.

## Solution

- Add a generic type for the loader and use a different type in `load_internal_asset` and `load_internal_binary_asset`
2023-01-18 02:07:26 +00:00
..
diagnostic docs: Full documentation for bevy_asset (#3536) 2022-07-12 15:44:09 +00:00
io Optional BEVY_ASSET_ROOT to find assets directory (#5346) 2023-01-16 17:36:09 +00:00
asset_server.rs Optional BEVY_ASSET_ROOT to find assets directory (#5346) 2023-01-16 17:36:09 +00:00
assets.rs fix load_internal_binary_asset with debug_asset_server (#7246) 2023-01-18 02:07:26 +00:00
debug_asset_server.rs fix load_internal_binary_asset with debug_asset_server (#7246) 2023-01-18 02:07:26 +00:00
filesystem_watcher.rs Update to notify 5.0 stable (#5865) 2022-09-02 15:54:54 +00:00
handle.rs asset: make HandleUntyped::id private (#7076) 2023-01-04 23:40:43 +00:00
info.rs docs: Full documentation for bevy_asset (#3536) 2022-07-12 15:44:09 +00:00
lib.rs Derive clone and debug for AssetPlugin (#6583) 2022-11-14 23:08:26 +00:00
loader.rs Fix clippy::iter_with_drain (#6485) 2022-11-06 01:42:15 +00:00
path.rs Add From<String> for AssetPath<'a> (#6337) 2022-10-24 14:14:24 +00:00
reflect.rs Fix beta clippy lints (#7154) 2023-01-11 09:51:22 +00:00