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

Method clone_from

zeroize/src/lib.rs:611–614  ·  view source on GitHub ↗
(&mut self, source: &Self)

Source from the content-addressed store, hash-verified

609
610 #[inline(always)]
611 fn clone_from(&mut self, source: &Self) {
612 self.0.zeroize();
613 self.0.clone_from(&source.0);
614 }
615}
616
617impl<Z> From<Z> for Zeroizing<Z>

Callers

nothing calls this directly

Calls 1

zeroizeMethod · 0.45

Tested by

no test coverage detected