[−][src]Crate basedrop
Memory-management tools for real-time audio and other latency-critical scenarios.
OwnedandSharedare smart pointers analogous toBoxandArcwhich add their contents to a queue for deferred collection when dropped.Collectoris used to process the drop queue.Nodeprovides a lower-level interface for implementing custom smart pointers or data structures.SharedCellimplements a mutable memory location holding aSharedpointer that can be used by multiple readers and writers in a thread-safe manner.
Structs
| Collector | |
| Handle | A handle to a |
| Node | An allocation that can be added to its associated |
| Owned | An owned smart pointer with deferred collection, analogous to |
| Shared | A reference-counted smart pointer with deferred collection, analogous to
|
| SharedCell | A thread-safe shared mutable memory location that holds a |