Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
all
Method · 0.45
all_named
Method · 0.45
known_bits
Method · 0.45
unknown_bits
Method · 0.45
from_bits
Method · 0.45
from_bits_truncate
Method · 0.45
from_name
Method · 0.45
is_empty
Method · 0.45
is_all
Method · 0.45
intersects
Method · 0.45
contains
Method · 0.45
truncate
Method · 0.45
Calls
no outgoing calls
Tested by
3
cases
Function · 0.36
cases
Function · 0.36
test_defined_names
Function · 0.36