Crate inline_dyn
source ·Expand description
InlineDyn
Modules
- alloc
nightly
andalloc
Macros
- A convenience macro that allows for using similar syntax to the proposed
dyn* Trait
feature. - Constructs a new
InlineDyn
containing the given value. - inline_dyn_box
alloc
Structs
- A zero-sized-type aligned to
N
. Compound types containing a fieldAlign<N>
with have an alignment of at leastN
. - A container type that stores a dynamically-sized type (e.g., a trait object) inline within the container.
Constants
- A constant corresponding to the default size and alignment of the internal storage of an
InlineDyn
.
Traits
- Implemented for all
Align<N>
whereN
is a valid alignment (i.e., a power of two less-than-or-equal to 228). - A trait for cloning trait objects dynamically.