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