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

Method to_bool_vartime

ctutils/src/choice.rs:440–442  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

438 #[deprecated(since = "0.4.3", note = "use `Choice::to_bool` instead")]
439 #[must_use]
440 pub const fn to_bool_vartime(self) -> bool {
441 self.to_bool()
442 }
443
444 /// DEPRECATED: previously a workaround to allow `const fn` boolean support on Rust 1.85.
445 ///

Callers

nothing calls this directly

Calls 1

to_boolMethod · 0.80

Tested by

no test coverage detected