WIP: add extends to the props macro

This commit is contained in:
Evan Almloff committed 2023-09-26 19:23:00 -05:00
1 parent 56b1a0aefc
commit 7b51bb8060
6 files changed
+270 -151

No files matched your search

+2 -2
View File
@@ -899,12 +899,12 @@ impl<'a, T: IntoAttributeValue<'a>> IntoAttributeValue<'a> for Option<T> {
}
}
pub trait HasAttributesBox<'a, T> {
pub trait HasAttributesBox<'a> {
fn push_attribute(
self,
name: &'a str,
ns: Option<&'static str>,
attr: impl IntoAttributeValue<'a>,
volatile: bool,
) -> T;
) -> Self;
}