☰
Debian Codegraph
@
0.12.0-1
0.10.0-1
/
/
debian
/
rust-vendor
/
zerocopy
/
benches
/
new_box_zeroed.rs
☽
☼
debian/rust-vendor/zerocopy/benches/new_box_zeroed.rs
code
plain
raw
MIT
or
Apache-2.0
the respective crate authors
debian/copyright
1
use zerocopy::*;
2
3
#[path = "formats/coco_static_size.rs"]
4
mod format;
5
6
#[unsafe(no_mangle)]
7
fn bench_new_box_zeroed() -> Option<Box<format::LocoPacket>> {
8
FromZeros::new_box_zeroed().ok()
9
}