[−][src]Crate nodrop
The nodrop crate has the following cargo feature flags:
std- Optional, enabled by default
- Use libstd
use_needs_drop- Optional
- Requires Rust 1.21
- Use
needs_dropto skip overwriting if not necessary
use_union- Optional
- Requires nightly channel
- Using untagged union, finally we have an implementation of
NoDropwithout hacks, for example the fact thatNoDrop<T>never has a destructor anymore.
Structs
| NoDrop | A type holding T that will not call its destructor on drop |