Skip to content

Implement PartialOrd and Ord traits#7

Open
AlexHayton wants to merge 3 commits into
dholroyd:masterfrom
AlexHayton:master
Open

Implement PartialOrd and Ord traits#7
AlexHayton wants to merge 3 commits into
dholroyd:masterfrom
AlexHayton:master

Conversation

@AlexHayton

@AlexHayton AlexHayton commented Jul 8, 2024

Copy link
Copy Markdown

I am attempting to use the FourCC values in a match statement, the compiler said that PartialOrd and Ord traits are both necessary.

Also implemented FromStr here.

Implementing something basic but useful here. What do you think?

@AlexHayton

Copy link
Copy Markdown
Author

Hey @dholroyd, do you have any thoughts on this one?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant