WIP: add extends to the props macro
This commit is contained in:
1 parent
56b1a0aefc
commit
7b51bb8060
6 files changed
+270
-151
No files matched your search
@@ -78,7 +78,7 @@ impl ToTokens for ImplExtensionAttributes {
|
||||
pub trait #extension_name<'a> {
|
||||
#(#defs)*
|
||||
}
|
||||
impl<'a, T> #extension_name<'a> for T where T: HasAttributesBox<'a, T> + #marker_name {
|
||||
impl<'a, T> #extension_name<'a> for T where T: HasAttributesBox<'a> + #marker_name {
|
||||
#(#impls)*
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user