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

Method as_ref

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

Source from the content-addressed store, hash-verified

653{
654 #[inline(always)]
655 fn as_ref(&self) -> &T {
656 self.0.as_ref()
657 }
658}
659
660impl<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