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

Method from

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

Source from the content-addressed store, hash-verified

557/// </div>
558impl From<u8> for Choice {
559 fn from(value: u8) -> Self {
560 Choice::from_u8_lsb(value)
561 }
562}
563
564impl 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