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

Support assignation for types other than CubePrimitive #364

Open
maxtremblay opened this issue Dec 10, 2024 · 0 comments
Open

Support assignation for types other than CubePrimitive #364

maxtremblay opened this issue Dec 10, 2024 · 0 comments

Comments

@maxtremblay
Copy link
Collaborator

maxtremblay commented Dec 10, 2024

Currently, we can only do the following when value has type CubePritimive.

value = some_function(/* ... */);

However, for many types, for example a tuple where are elements are CubePrimitive it should be easy to derive an assignment implementation that works elementwise.

I suggest introducing a new trait CubeAssign with a possible derive to support that feature for most CubeType.

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

No branches or pull requests

1 participant