MCPcopy Create free account
hub / github.com/Lymia/enumset / has_unknown_bits

Method has_unknown_bits

enumset/src/impl_set_mixed.rs:147–149  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

145 /// Returns whether this bitset contains any bits that do not correspond to a valid variant.
146 #[inline(always)]
147 pub fn has_unknown_bits(&self) -> bool {
148 !(self.repr & !T::ALL_BITS).is_empty()
149 }
150
151 /// Checks whether this set contains a specific bit.
152 #[inline(always)]

Callers 1

try_as_enumsetMethod · 0.80

Calls 1

is_emptyMethod · 0.80

Tested by

no test coverage detected