re-implemented Debug to show the bits field of the internal struct as… #9
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!9
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?
… binary (8-bits wide)
Fixes issue #8 by re-implementing Debug to a simpler representation:
$BitFlags { bits: 0bXXXXXXXX }If this isn't preferable, I would recommend dropping the general Debug impl and let everyone implement their own.
Thanks! I think I'll remove the 10-character width limit for now (as it could be larger or smaller), but I'll do that locally.
This sucks a lot for my usecases at least, since a non-symbolic representation is impossible to decipher (I have 61 cases right now). I don't see a good way to do it in the macro though in the face of #8.