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