Module abi_stable::for_examples
source · Expand description
Types used in documentation examples.
Structs§
- This type is used in prefix type examples.
- This is the pointer to the prefix of
Module
. - This type is used in prefix type examples.
- This is the prefix fields of
PhantModule< T >
, accessible throughPhantModule_Ref
, with.0.prefix()
. - This is the pointer to the prefix of
PhantModule< T >
. - Describes the traits required when constructing a
NonExhaustive<>
fromValidTag
,by implementingInterfaceType
. - A marker type which implements StableAbi with the layout of
ValidTag
,used as a phantom field of NonExhaustive. - The default InlineStorage that
NonExhaustive
uses forValidTag
.
Enums§
- For demonstrating ffi-safe non-exhaustive enums.
Traits§
- An alias for the traits that
NonExhaustive<ValidTag,_,_>
requires to be constructed,and implements afterwards.
Type Aliases§
- An alias for
NonExhaustive
wrapping aValidTag
.