nodrop 0.1.8

A wrapper type to inhibit drop (destructor).

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
  • use_union
    • Optional
    • Requires nightly channel
    • Using untagged union, finally we have an implementation of NoDrop without hacks, for example the fact that NoDrop<T> never has a destructor anymore.