Skip to content

Commit

Permalink
Give users direct access to bitflags and enumeration constants
Browse files Browse the repository at this point in the history
Nothing special happens when converting to and from these constants, and
its API is found to be more concise yet ever so slightly (0.1s) faster
to compile than having separate `to_raw` and `from_raw` functions for
each, that it makes sense to drop these entirely.  Ash is still on a
nonbreaking contribution streak so these functions are marked
`deprecated` for now and will be removed at the next breaking crate
release.

[1]: #549 (comment)
  • Loading branch information
MarijnS95 committed Jan 11, 2022
1 parent 98192d1 commit 7dac902
Show file tree
Hide file tree
Showing 5 changed files with 479 additions and 273 deletions.
Loading

0 comments on commit 7dac902

Please sign in to comment.