Crate inline_dyn

source ·
Expand description

InlineDyn

Modules

Macros

Structs

  • A zero-sized-type aligned to N. Compound types containing a field Align<N> with have an alignment of at least N.
  • 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> where N is a valid alignment (i.e., a power of two less-than-or-equal to 228).
  • A trait for cloning trait objects dynamically.