Add .set method (condition-based insert/remove) #55
No reviewers
Labels
No labels
bug
good first issue
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-bitflags/bitflags!55
Loading…
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This adds a convenience method to explicitly set the value of a bit. I, at least, use this pattern heavily in https://github.com/mehcode/wadatsumi (A gameboy emulator) so I'm proposing this.
Thanks!