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

Method xor

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

Source from the content-addressed store, hash-verified

70 #[inline]
71 #[must_use]
72 pub const fn xor(self, rhs: Choice) -> Choice {
73 Self(self.0 ^ rhs.0)
74 }
75
76 /// Compute the boolean inverse of `self`.
77 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected