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

Remove the Copy trait #284

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

LucaCiucci
Copy link

This was requested in #245. I just removed the Copy bound from the Real and replaced with Clone in Float.
This would be a breaking change.

@nsabovic
Copy link

I for one would love that as it would enable quite a bit of use cases for non-copyable types. 👍

@LucaCiucci
Copy link
Author

LucaCiucci commented May 24, 2024

Yeah, I think this would be really useful for working with automatic differentiation or arbitrary precision types. AFAIK currently the only way to use rust-num with these types is using a [patch], but this is not feasible in many scenarios where you would have to patch many crates to make things work.

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

Successfully merging this pull request may close these issues.

3 participants