From 23976f7d1e505e5a0781efe82fbd07d5bb69697c Mon Sep 17 00:00:00 2001 From: Dmitry Stepanov Date: Fri, 14 Aug 2026 11:56:42 +0300 Subject: [PATCH] `impl_simple_resource` macro improvements + fixes --- fyrox-resource/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fyrox-resource/src/lib.rs b/fyrox-resource/src/lib.rs index abe5d52cc..575c3a77d 100644 --- a/fyrox-resource/src/lib.rs +++ b/fyrox-resource/src/lib.rs @@ -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] {