added get_style

This commit is contained in:
2024-12-03 23:02:42 +01:00
parent 662c39d9f6
commit f0c03358ad
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -89,6 +89,10 @@ pub fn element(_args: TokenStream, input: TokenStream) -> TokenStream {
fn get_id(&self) -> String {
self.id.to_string()
}
fn get_style(&self) -> &Style {
&self.style
}
}
}
} else {