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

Method ct_assign

ctutils/src/choice.rs:559–561  ·  view source on GitHub ↗
(&mut self, other: &Self, choice: Choice)

Source from the content-addressed store, hash-verified

557impl CtAssign for Choice {
558 #[inline]
559 fn ct_assign(&mut self, other: &Self, choice: Choice) {
560 self.0.ct_assign(&other.0, choice);
561 }
562}
563impl CtAssignSlice for Choice {}
564impl CtSelectUsingCtAssign for Choice {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected