You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What can I write in the template such that I am able to render page? As far as I can tell, I can't implement TemplateOnce for Page since it has a sealed supertrait, and I can't implement Render for it since in order to render the child I would have to consume its value. I additionally can't change page to be dyn TemplateOnce since TemplateOnce is Sized.
What's the best way to dispatch to different templates?
The text was updated successfully, but these errors were encountered:
Let's say I have the following pattern:
What can I write in the template such that I am able to render
page
? As far as I can tell, I can't implement TemplateOnce for Page since it has a sealed supertrait, and I can't implement Render for it since in order to render the child I would have to consume its value. I additionally can't changepage
to bedyn TemplateOnce
since TemplateOnce is Sized.What's the best way to dispatch to different templates?
The text was updated successfully, but these errors were encountered: