Expand description
Modules§
- dyn_
traits - Hand-rolled implementations of pervasive
StackBox<dyn …>types. - prelude
- This crates prelude: usage of this crate is designed to be ergonomic provided all the items within this module are in scope.
- slice
- Uninteresting module just to expose slice-specific helper types.
Macros§
- custom_
dyn - Helper macro to define custom
StackBox<dyn …>trait objects. - mk_
slots - Convenience macro to batch-create multiple
Slots. - stackbox
- Convenience macro for more ergonomic
StackBoxconstructions.
Structs§
- Slot
- A
Sizedanduninitslot to manually handle the scope ofStackBox’s backing inline allocations. - Stack
Box - Stack1-allocated
Box. Think of this as of&'frame mut T, but withmovesemantics (no reborrowing!) which allow the “reference” to drop its pointee.
Functions§
- mk_slot
- Same as
Slot::VACANT, but using function call syntax to avoid firing the trigger-happyconst_item_mutationlint.