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

Function to_u64_mask

ctutils/src/choice.rs:1007–1010  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1005
1006 #[test]
1007 fn to_u64_mask() {
1008 assert_eq!(Choice::FALSE.to_u64_mask(), 0);
1009 assert_eq!(Choice::TRUE.to_u64_mask(), u64::MAX);
1010 }
1011
1012 #[test]
1013 fn to_u128_mask() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected