Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitflags/bitflags
/ bitand
Method
bitand
tests/compile-fail/bitflags_custom_bits.rs:37–39 ·
view source on GitHub ↗
(self, other: Self)
Source
from the content-addressed store, hash-verified
35
type Output = Self;
36
37
fn bitand(self, other: Self) -> Self {
38
MyInt(self.0 & other.0)
39
}
40
}
41
42
impl BitOr for MyInt {
Callers
nothing calls this directly
Calls
1
MyInt
Class · 0.85
Tested by
no test coverage detected