Get a flags value of any remaining bits that haven't been yielded yet. Once the iterator has finished, this method can be used to check whether or not there are any bits that didn't correspond to a contained, defined, named flag remaining.
(&self)
| 100 | /// check whether or not there are any bits that didn't correspond |
| 101 | /// to a contained, defined, named flag remaining. |
| 102 | pub fn remaining(&self) -> &B { |
| 103 | &self.remaining |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | impl<B: Flags> Iterator for IterNames<B> { |