Skip to main content

Module drop

Module drop 

Source
Expand description

Drop behavior classification.

Drop behavior specifies whether dropping a type runs custom drop code, automatic drop glue, or both.

Structs§

CustomDrop
The type has a custom Drop implementation, with the given drop behavior for its contents.

Enums§

AutoDrop
Owned contents need automatic drop glue.
NoDrop
Dropping this type does not run drop glue.

Traits§

DropKind