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

[WIP] Example of const generics for N dimension Coords #1288

Closed
wants to merge 2 commits into from

Conversation

latot
Copy link

@latot latot commented Dec 20, 2024

Hi, I play a little with the crate, and touched the coords.rs file, I was able to set everything to use const generics so it could works just using any number of dimensions.

What I did not do, is write the serialize/deserialize part, because are not implement by default for [T; N], still this is not made to be merged, but as a proof of concept and see how it could be.

@michaelkirk
Copy link
Member

This seems like a dupe of #797 - please review that before opening a PR with similar functionality.

@latot
Copy link
Author

latot commented Dec 20, 2024

@michaelkirk I did not checked it! I'll do it on the future.

but this PR is essentially different, here is to do it works with N dimensions, arbitrary one.

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

Successfully merging this pull request may close these issues.

2 participants