Skip to content

1.1.0 — store_layout and direct access to the vtable

Compare
Choose a tag to compare
@kotauskas kotauskas released this 07 Mar 11:29
· 14 commits to main since this release
9efe4e7
  • Fixed output when using the macro on a trait with a 'static bound while also using marker traits.
  • Documentation now includes a detailed description of the output produced by the macro, for reference.
  • The vtable of a boxed thin trait object can be accessed directly using the new vtable() method, which will return a reference to the vtable.
  • A new configuration option, store_layout, was added, which add two fields, size and align, to the vtable, which store the size and the preferred alignment, respectively, of the underlying type.