Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement zero() methods for Point2D, Rect, Size2D #33
Conversation
Note that Rect and Size2D do not implement std::num::Zero, because the zero laws do not hold for these types (they have no addition operation).
bors-servo
pushed a commit
to servo/servo
that referenced
this pull request
May 2, 2014
Depends on servo/euclid#33.
This comment has been minimized.
This comment has been minimized.
metajack
commented on a2b145b
May 2, 2014
|
r+ |
metajack
added a commit
that referenced
this pull request
May 2, 2014
Implement zero() methods for Point2D, Rect, Size2D
bors-servo
pushed a commit
to servo/servo
that referenced
this pull request
May 2, 2014
Depends on servo/euclid#33.
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-comments-removed
that referenced
this pull request
Sep 30, 2019
…rubeck:zero-geom); r=metajack Depends on servo/euclid#33. Source-Repo: https://github.com/servo/servo Source-Revision: 85393c69311bbe6dbb6f8ea8b28a6f0f6344fbe7 UltraBlame original commit: 8a03ef584bcafcee74f1a686e0fe0d9dad2c3c10
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified
that referenced
this pull request
Sep 30, 2019
…rubeck:zero-geom); r=metajack Depends on servo/euclid#33. Source-Repo: https://github.com/servo/servo Source-Revision: 85393c69311bbe6dbb6f8ea8b28a6f0f6344fbe7 UltraBlame original commit: 8a03ef584bcafcee74f1a686e0fe0d9dad2c3c10
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified-and-comments-removed
that referenced
this pull request
Oct 1, 2019
…rubeck:zero-geom); r=metajack Depends on servo/euclid#33. Source-Repo: https://github.com/servo/servo Source-Revision: 85393c69311bbe6dbb6f8ea8b28a6f0f6344fbe7 UltraBlame original commit: 8a03ef584bcafcee74f1a686e0fe0d9dad2c3c10
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
mbrubeck commentedMay 2, 2014
Note that Rect and Size2D do not implement std::num::Zero, because the zero
laws do not hold for these types (they have no addition operation).