Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/utils
/ Z
Class
Z
zeroize/tests/zeroize_derive.rs:12–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
10
fn derive_tuple_struct_test() {
11
#[derive(Zeroize, ZeroizeOnDrop)]
12
struct Z([u8; 3]);
13
14
let mut value = Z([1, 2, 3]);
15
value.zeroize();
Callers
6
derive_tuple_struct_test
Function · 0.70
derive_bound
Function · 0.70
derive_inherit_zeroize_on_drop
Function · 0.70
derive_inherit_from_both
Function · 0.70
derive_inherit_both
Function · 0.70
derive_deref
Function · 0.70
Calls
no outgoing calls
Tested by
6
derive_tuple_struct_test
Function · 0.56
derive_bound
Function · 0.56
derive_inherit_zeroize_on_drop
Function · 0.56
derive_inherit_from_both
Function · 0.56
derive_inherit_both
Function · 0.56
derive_deref
Function · 0.56