Crate nodrop [−] [src]
The nodrop crate has the following cargo feature flags:
std
- Optional, enabled by default
- Requires Rust 1.6 to disable
- Use libstd
use_needs_drop
- Optional
- Requires nightly channel.
- Use
needs_drop
to skip overwriting if not necessary
no_drop_flag
.- Optional.
- Requires nightly channel.
- Use no drop flag on the NoDrop type, which means less space overhead. Use with care and report a bug if anything changes behavior with this feature.
Structs
NoDrop |
A type holding T that will not call its destructor on drop |