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

From/Into implementation for tuples #336

Merged
merged 3 commits into from Apr 15, 2019
Merged

From/Into implementation for tuples #336

merged 3 commits into from Apr 15, 2019

Conversation

@agersant
Copy link
Contributor

agersant commented Apr 14, 2019

This PR adds implementations of the From and Into trait, to convert between tuples and euclid's size/point/vector types.

From/Into array was also implemented for TypedSize for consistency.


This change is Reviewable

agersant added 3 commits Feb 24, 2019
Added to_tuple() convenience functions
@nical
Copy link
Collaborator

nical commented Apr 15, 2019

Looks good, thanks!

@bors-servo r+

@bors-servo
Copy link
Contributor

bors-servo commented Apr 15, 2019

📌 Commit ec31631 has been approved by nical

@bors-servo
Copy link
Contributor

bors-servo commented Apr 15, 2019

Testing commit ec31631 with merge 650b129...

bors-servo added a commit that referenced this pull request Apr 15, 2019
From/Into implementation for tuples

This PR adds implementations of the From and Into trait, to convert between tuples and euclid's size/point/vector types.

From/Into array was also implemented for TypedSize for consistency.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/euclid/336)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Apr 15, 2019

☀️ Test successful - checks-travis
Approved by: nical
Pushing 650b129 to master...

@bors-servo bors-servo merged commit ec31631 into servo:master Apr 15, 2019
2 checks passed
2 checks passed
Travis CI - Pull Request Build Passed
Details
homu Test successful
Details
@agersant agersant deleted the agersant:tuples branch Apr 16, 2019
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

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