[−][src]Module abi_stable::prefix_type
Types,traits,and functions used by prefix-types.
Structs
BoolArray | An array of 64 binary enums. |
BoolArrayIter | |
PTStructLayout | Represents the layout of a prefix-type,for use in error messages. |
PointsToPrefixFields | A marker used to prove that |
PrefixMetadata | The prefix-type metadata for |
PrefixRef | A reference to a prefix type. |
WithMetadata_ | Wraps a type along with its prefix-type-related metadata, so that it can be converted to its prefix. |
Enums
IsAccessible | Whether a field is accessible. |
IsConditional | Whether a field is conditional,
whether it has a |
Traits
GetWithMetadata | A helper trait for asserting that |
PrefixRefTrait | Marker trait for pointers to prefix field structs. |
PrefixTypeTrait | For types deriving |
Functions
panic_on_missing_field_ty | Used to panic with an error message informing the user that a field
is expected to be on the |
panic_on_missing_fieldname | Used to panic with an error message informing the user that a field
is expected to be on the |
Type Definitions
FieldAccessibility | An array with whether the ith field of a prefix-type is accessible through its accessor method. |
FieldConditionality | An array with whether the ith field in the prefix of a prefix-type
is conditional,which means whether it has the
|
WithMetadata | Alias for |