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

Method xor

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

Source from the content-addressed store, hash-verified

54 #[inline]
55 #[must_use]
56 pub const fn xor(self, rhs: Choice) -> Choice {
57 Self(self.0 ^ rhs.0)
58 }
59
60 /// Compute the boolean inverse of `self`.
61 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected