> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Function zeroed

Module: `std::mem`

```rust
pub fn zeroed<T>() -> T
```

For any type, return an instance of that type by initializing all of its fields to 0. This is considered to be unsafe since there is no guarantee that all zeroes is a valid bit pattern for every type.
