Module abi_stable::for_examples[][src]

Expand description

Types used in documentation examples.

Structs

This type is used in prefix type examples.

This is the prefix fields of Module, accessible through Module_Ref, with .0.prefix().

This is the pointer to the prefix of Module.

Describes the traits required when constructing a NonExhaustive<> from ValidTag,by implementing InterfaceType.

A marker type which implements StableAbi with the layout of ValidTag,used as a phantom field of NonExhaustive.

The default InlineStorage that NonExhaustive uses for ValidTag.

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 Definitions

An alias for NonExhaustive wrapping a ValidTag.