# Crate nodrop [−] [src]

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_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.

## Structs

NoDrop | A type holding T that will not call its destructor on drop

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)