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

Method unknown_bits

src/traits.rs:173–175  ·  view source on GitHub ↗

Get the unknown bits from a flags value.

(&self)

Source from the content-addressed store, hash-verified

171
172 /// Get the unknown bits from a flags value.
173 fn unknown_bits(&self) -> Self::Bits {
174 self.bits() & !Self::all().bits()
175 }
176
177 /// This method will return `true` if any unknown bits are set.
178 fn contains_unknown_bits(&self) -> bool {

Callers 1

contains_unknown_bitsMethod · 0.80

Implementers 2

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

Calls 1

bitsMethod · 0.45

Tested by

no test coverage detected