Is there any way to pass a struct which does not implement 'Copy' trait to a Component? #2109
Unanswered
AshWang-whm
asked this question in
Q&A
Replies: 1 comment
-
The mount_to_body(|| {
let obj = Parameter { /* etc */ };
view! { <Component obj/> }
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm wondering if there is a way to pass a Component a struct that not implements the Copy trait?
Beta Was this translation helpful? Give feedback.
All reactions