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
Slot
s. - stackbox
- Convenience macro for more ergonomic
StackBox
constructions.
Structs§
- Slot
- A
Sized
anduninit
slot to manually handle the scope ofStackBox
’s backing inline allocations. - Stack
Box - Stack1-allocated
Box
. Think of this as of&'frame mut T
, but withmove
semantics (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_mutation
lint.