Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitflags/bitflags
/ bitor_assign
Method
bitor_assign
tests/compile-fail/bitflags_custom_bits.rs:65–67 ·
view source on GitHub ↗
(&mut self, other: Self)
Source
from the content-addressed store, hash-verified
63
64
impl BitOrAssign for MyInt {
65
fn bitor_assign(&mut self, other: Self) {
66
self.0 |= other.0
67
}
68
}
69
70
impl BitXorAssign for MyInt {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected