MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / bits

Method bits

atomic-core/src/pristine/file_index_v2.rs:29–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27 pub const ALL: Self = Self((1 << 10) - 1);
28
29 pub const fn bits(self) -> u16 {
30 self.0
31 }
32
33 pub const fn contains(self, field: Self) -> bool {
34 self.0 & field.0 == field.0

Callers 15

newMethod · 0.80
sub_assignMethod · 0.80
add_assignMethod · 0.80
encode_file_index_v2Function · 0.80
decode_file_index_v2Function · 0.80
serialize_edgeFunction · 0.80
serialize_graph_edgeFunction · 0.80

Calls

no outgoing calls