Move self in Element::paint
Remove mutable state borrows in favor of state ownership in render processes to streamline element rendering.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
mod action;
|
||||
mod derive_component;
|
||||
mod derive_element;
|
||||
mod register_action;
|
||||
mod style_helpers;
|
||||
mod test;
|
||||
@@ -26,6 +27,11 @@ pub fn derive_component(input: TokenStream) -> TokenStream {
|
||||
derive_component::derive_component(input)
|
||||
}
|
||||
|
||||
// #[proc_macro_derive(Element)]
|
||||
// pub fn derive_element(input: TokenStream) -> TokenStream {
|
||||
// derive_element::derive_element(input)
|
||||
// }
|
||||
|
||||
#[proc_macro_attribute]
|
||||
pub fn test(args: TokenStream, function: TokenStream) -> TokenStream {
|
||||
test::test(args, function)
|
||||
|
||||
Reference in New Issue
Block a user