We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e88d56 commit e2bea81Copy full SHA for e2bea81
src/lib.rs
@@ -457,6 +457,8 @@ pub const fn folder(path: &'static str) -> &'static str {
457
/// > **Note**: These types will do nothing outside of the `mg!` macro
458
pub trait ForMgMacro: __private::Sealed + Sync + Send {}
459
460
+impl<T> ForMgMacro for T where T: __private::Sealed + Sync + Send {}
461
+
462
mod __private {
463
use super::*;
464
@@ -469,7 +471,3 @@ mod __private {
469
471
impl Sealed for CssAssetBuilder {}
470
472
impl Sealed for &'static str {}
473
}
-
-impl ForMgMacro for ImageAssetBuilder {}
474
-impl ForMgMacro for FontAssetBuilder {}
475
-impl ForMgMacro for &'static str {}
0 commit comments