Closed aalowlevel closed 1 year ago
Hello. I have a question. Considering this example:
#[derive(TemplateOnce)] #[template(path = "my_component.stpl")] pub struct MyComponent { sub: Box<dyn TemplateOnce> }
give this error:
the trait `sailfish::TemplateOnce` cannot be made into an object the trait cannot be made into an object because it requires `Self: Sized`
Is there any way to render trait objects?
Hello. I have a question. Considering this example:
give this error:
Is there any way to render trait objects?