MCPcopy Create free account
hub / github.com/bitflags/bitflags / remaining

Method remaining

src/iter.rs:102–104  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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
107impl<B: Flags> Iterator for IterNames<B> {

Callers 2

to_writerFunction · 0.80
nextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected