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

Method as_ref

zeroize/src/lib.rs:669–671  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

667{
668 #[inline(always)]
669 fn as_ref(&self) -> &T {
670 self.0.as_ref()
671 }
672}
673
674impl<T, Z> AsMut<T> for Zeroizing<Z>

Callers 3

asrefFunction · 0.45
box_unsized_zeroizingFunction · 0.45
arc_unsized_zeroizingFunction · 0.45

Calls

no outgoing calls

Tested by 3

asrefFunction · 0.36
box_unsized_zeroizingFunction · 0.36
arc_unsized_zeroizingFunction · 0.36