mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-12 02:02:20 +00:00
impl_simple_resource macro improvements + fixes
This commit is contained in:
@@ -95,7 +95,8 @@ macro_rules! impl_simple_resource {
|
||||
}
|
||||
}
|
||||
|
||||
struct $loader_name {}
|
||||
#[derive(Default, Copy, Clone, Debug, PartialEq, Eq)]
|
||||
pub struct $loader_name {}
|
||||
|
||||
impl $crate::loader::ResourceLoader for $loader_name {
|
||||
fn extensions(&self) -> &[&str] {
|
||||
|
||||
Reference in New Issue
Block a user