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

Method contains_unknown_bits

src/traits.rs:178–180  ·  view source on GitHub ↗

This method will return `true` if any unknown bits are set.

(&self)

Source from the content-addressed store, hash-verified

176
177 /// This method will return `true` if any unknown bits are set.
178 fn contains_unknown_bits(&self) -> bool {
179 self.unknown_bits() != Self::Bits::EMPTY
180 }
181
182 /// Get the underlying bits value.
183 ///

Callers

nothing calls this directly

Implementers 2

macro_free.rsexamples/macro_free.rs
custom_bits_type.rsexamples/custom_bits_type.rs

Calls 1

unknown_bitsMethod · 0.80

Tested by

no test coverage detected