unsafe_binders/
drop_marker.rs

1crate::type_level_enum::type_level_enum! {
2    pub
3    enum DropMarker : DropMarkerKind {
4        /// When picking this, [`crate::Unsafe`] will run the drop glue of the
5        /// inner value (if any) on `Drop`; this in turn requires its constructor
6        /// to be `unsafe` (unless `Copy`).
7        MayDrop,
8
9        /// When picking this, [`crate::Unsafe`] shall run no code on `Drop`.
10        NoDropGlue,
11    }
12}