Skip to content

Release 0.7.4

Compare
Choose a tag to compare
@meithecatte meithecatte released this 24 Mar 02:02
· 40 commits to master since this release
  • Added BitFlags::len, which returns the number of flags set.
  • Added BitFlags::exactly_one, which converts a singleton flag set to the flag. Returns Option::None if the input is not a singleton.
  • The iterator returned by BitFlags::iter now implements ExactSizeIterator and FusedIterator.
  • BitFlags now implements IntoIterator.