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

Method bits

examples/macro_free.rs:31–33  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

29 type Bits = u32;
30
31 fn bits(&self) -> u32 {
32 self.0
33 }
34
35 fn from_bits_retain(bits: u32) -> Self {
36 Self(bits)

Callers 15

allMethod · 0.45
all_namedMethod · 0.45
known_bitsMethod · 0.45
unknown_bitsMethod · 0.45
from_bitsMethod · 0.45
from_bits_truncateMethod · 0.45
from_nameMethod · 0.45
is_emptyMethod · 0.45
is_allMethod · 0.45
intersectsMethod · 0.45
containsMethod · 0.45
truncateMethod · 0.45

Calls

no outgoing calls

Tested by 3

casesFunction · 0.36
casesFunction · 0.36
test_defined_namesFunction · 0.36