Module abi_stable::docs

source ·
Expand description

Additional docs for macros, and guides.

Modules§

  • This document describes what changes are valid/invalid for a library using abi_stable,
  • Prefix-types are types that derive StableAbi along with the #[sabi(kind(Prefix(....)))] helper attribute. This is mostly intended for vtables and modules.
  • Using the #[sabi(kind(WithNonExhaustive(...)))] helper attribute for #[derive(StableAbi)] allows you to store the enum in NonExhaustive, using it as a non-exhaustive enum across ffi.
  • Shared docs for inherent items of sabi_trait trait objects.
  • Here are some problems and their solutions
  • This document describes all the things that are unsafe to do with abi_stable.