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

Method and

ctutils/src/choice.rs:58–60  ·  view source on GitHub ↗
(self, rhs: Choice)

Source from the content-addressed store, hash-verified

56 #[inline]
57 #[must_use]
58 pub const fn and(self, rhs: Choice) -> Choice {
59 Self(self.0 & rhs.0)
60 }
61
62 /// Apply an `or` conditional to the given [`Choice`]s.
63 #[inline]

Callers 1

bitandMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected