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