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

Method clone_from

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

Source from the content-addressed store, hash-verified

623
624 #[inline(always)]
625 fn clone_from(&mut self, source: &Self) {
626 self.0.zeroize();
627 self.0.clone_from(&source.0);
628 }
629}
630
631impl<Z> From<Z> for Zeroizing<Z>

Callers

nothing calls this directly

Calls 1

zeroizeMethod · 0.45

Tested by

no test coverage detected