MCPcopy Create free account
hub / github.com/RustCrypto/utils / from

Method from

ctutils/src/choice.rs:583–585  ·  view source on GitHub ↗
(value: u8)

Source from the content-addressed store, hash-verified

581/// </div>
582impl From<u8> for Choice {
583 fn from(value: u8) -> Self {
584 Choice::from_u8_lsb(value)
585 }
586}
587
588impl From<Choice> for u8 {

Callers

nothing calls this directly

Calls 4

from_u8_lsbFunction · 0.85
ChoiceClass · 0.85
to_u8Method · 0.80
to_boolMethod · 0.80

Tested by

no test coverage detected