Expand description
Where the StableAbi trait is declared,as well as related types/traits.
Structs§
- AbiConsts
- Contains constants equivalent to the associated types in StableAbi.
- Sabi
Unsafe Opaque Field - Allows one to ensure that a
TimplementsStableAbi, while storing an opaque layout instead of<T as StableAbi>::LAYOUT. - Unsafe
Opaque Field - Allows one to create the
TypeLayoutfor any typeT, by pretending that it is a primitive type.
Traits§
- Prefix
Stable Abi - A type that only has a stable layout when a
PrefixRefto it is used. - Stable
Abi - Represents a type whose layout is stable.
Functions§
- get_
prefix_ field_ type_ layout - Retrieves the TypeLayout of
T: PrefixStableAbi, - get_
type_ layout - Retrieves the TypeLayout of
T: StableAbi,