Expand description
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
uninitializedfeature is enabled.
Functions§
- uninitialized⚠
- Returns the value of type
Trepresented by the all-zero byte-pattern.