Proc macro to derive ApproxEq? #21
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mikedilger/float-cmp#21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It would be very convenient to be able to
#[derive(ApproxEq)]on structs (much like one does with PartialEq). Would you see that a proc-macro crate for that fitting within the scope of float-cmp itself?That sounds like a great idea. I've never written a proc-macro so it's completely unknown territory for me, and I wouldn't be able to get to it right away, but I think yes it should be done.