Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitflags/bitflags
/ bitor
Method
bitor
tests/compile-fail/bitflags_custom_bits.rs:45–47 ·
view source on GitHub ↗
(self, other: Self)
Source
from the content-addressed store, hash-verified
43
type Output = Self;
44
45
fn bitor(self, other: Self) -> Self {
46
MyInt(self.0 | other.0)
47
}
48
}
49
50
impl BitXor for MyInt {
Callers
nothing calls this directly
Calls
1
MyInt
Class · 0.85
Tested by
no test coverage detected