Module abi_stable::abi_stability::stable_abi_trait

source ·
Expand description

Where the StableAbi trait is declared,as well as related types/traits.

Structs§

  • Contains constants equivalent to the associated types in StableAbi.
  • Allows one to ensure that a T implements StableAbi, while storing an opaque layout instead of <T as StableAbi>::LAYOUT.
  • Allows one to create the TypeLayout for any type T, by pretending that it is a primitive type.

Traits§

  • A type that only has a stable layout when a PrefixRef to it is used.
  • Represents a type whose layout is stable.

Functions§