Crate uninitialized [] [src]

Provides the option to use uninitialized memory for performance improvements.

uninitialized() is backed by std::mem::zeroed() unless the feature is toggled on. Downstream binary crates that want to take advantage of std::mem::uninitialized() should use the following in Cargo.toml:

[dependencies.uninitialized]
version = "*"
features = ["uninitialized"]

Constants

UNINITIALIZED

A constant indicating whether the uninitialized feature is enabled.

Functions

uninitialized

Creates a value initialized to zero.