Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept Vec<T> as function arguments #2452

Closed
domoritz opened this issue Feb 10, 2021 · 0 comments · Fixed by #3554
Closed

Accept Vec<T> as function arguments #2452

domoritz opened this issue Feb 10, 2021 · 0 comments · Fixed by #3554

Comments

@domoritz
Copy link
Contributor

domoritz commented Feb 10, 2021

It would be great to accept vectors of objects (especially vectors of objects created by wasm bindgen itself). I believe that the workaround right now is to create a builder that has a method to add a new T, which one has to call for each entry in the vector.

Follow up for comment by @fjarri in #111 (comment)

See nucypher/rust-umbral#23 for an example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant