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

Implement zero() methods for Point2D, Rect, Size2D #33

Merged
merged 1 commit into from May 2, 2014

Conversation

@mbrubeck
Copy link
Contributor

mbrubeck commented May 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).

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
@metajack

This comment has been minimized.

Copy link

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
@metajack metajack merged commit ab55c3f into servo:master May 2, 2014
bors-servo pushed a commit to servo/servo that referenced this pull request May 2, 2014
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
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.