Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/utils
/ or
Method
or
ctutils/src/choice.rs:49–51 ·
view source on GitHub ↗
(self, rhs: Choice)
Source
from the content-addressed store, hash-verified
47
#[inline]
48
#[must_use]
49
pub const fn or(self, rhs: Choice) -> Choice {
50
Self(self.0 | rhs.0)
51
}
52
53
/// Apply an `xor` conditional to the given [`Choice`]s.
54
#[inline]
Callers
2
overflowing_add_u128_halves
Function · 0.45
bitor
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected