Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/utils
/ Choice
Class
Choice
ctutils/src/choice.rs:18–18 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
// NOTE: we deliberately do NOT impl `Eq`, `Hash`, `PartialEq`, etc. See #1315
17
#[derive(Copy, Clone, Debug)]
18
pub struct Choice(pub(crate) u8);
19
20
impl Choice {
21
/// Equivalent of [`false`].
Callers
2
bitxor
Method · 0.85
from
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected