Introduce Refinement trait and derive macro
This commit is contained in:
parent
19ccb19c96
commit
9b74dc196e
22 changed files with 6164 additions and 244 deletions
|
@ -79,7 +79,7 @@ pub fn derive_element(input: TokenStream) -> TokenStream {
|
|||
{
|
||||
type Layout = #crate_name::element::AnyElement<V>;
|
||||
|
||||
fn style_mut(&mut self) -> &mut #crate_name::style::ElementStyle {
|
||||
fn declared_style(&mut self) -> &mut #crate_name::style::StyleRefinement {
|
||||
&mut self.metadata.style
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue