Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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>
582
impl From<u8> for Choice {
583
fn from(value: u8) -> Self {
584
Choice::from_u8_lsb(value)
585
}
586
}
587
588
impl From<Choice> for u8 {
Callers
nothing calls this directly
Calls
4
from_u8_lsb
Function · 0.85
Choice
Class · 0.85
to_u8
Method · 0.80
to_bool
Method · 0.80
Tested by
no test coverage detected