#union #copy #flags #nodrop-union #nodrop

deprecated nightly nodrop-union

A wrapper type to inhibit drop (destructor). Implementation crate for nodrop, the untagged unions implementation (which is unstable / requires nightly) as of this writing. ***Deprecated: Use ManuallyDrop or MaybeUninit instead!***

4 releases

Uses old Rust 2015

0.1.11 Oct 9, 2019
0.1.10 Nov 12, 2018
0.1.9 Sep 8, 2016
0.1.8 Sep 6, 2016

#44 in #union

Download history 61/week @ 2024-12-11 40/week @ 2024-12-18 19/week @ 2024-12-25 24/week @ 2025-01-01 30/week @ 2025-01-08 38/week @ 2025-01-15 28/week @ 2025-01-22 31/week @ 2025-01-29 42/week @ 2025-02-05 52/week @ 2025-02-12 34/week @ 2025-02-19 47/week @ 2025-02-26 5/week @ 2025-03-05 65/week @ 2025-03-12 26/week @ 2025-03-19 38/week @ 2025-03-26

144 downloads per month
Used in 6 crates (2 directly)

MIT/Apache

7KB
97 lines

Recent Changes (nodrop-union)

  • 0.1.11

    • Mark nodrop deprecated

      With the release of arrayvec 0.5, nodrop is unused.

      With the release of Rust 1.36 and MaybeUninit, nodrop-union has no purpose at all (it was only for nightly releases).

  • 0.1.10

    • Update to include license files in the crate by @ignatenkobrain
  • 0.1.9

    • Add Copy, Clone implementations
  • 0.1.8

    • Initial release

No runtime deps