MCPcopy 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)]
42pub struct Choice(pub(crate) u8);
43
44impl Choice {
45 /// Equivalent of [`false`].

Callers 2

bitxorMethod · 0.85
fromMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected