MCPcopy 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)]
18pub struct Choice(pub(crate) u8);
19
20impl Choice {
21 /// Equivalent of [`false`].

Callers 2

bitxorMethod · 0.85
fromMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected