[][src]Module abi_stable::nonexhaustive_enum::traits

The traits releated to nonexhaustive enums.

Structs

EnumInfo

Contains miscelaneous information about an enum.

Traits

DeserializeEnum

Describes how a nonexhaustive enum is deserialized.

GetEnumInfo

Describes the discriminant of an enum,and its valid values.

GetNonExhaustive

Gets the type with the type layout of Self when it's stored in NonExhaustive<>.

SerializeEnum

Describes how some enum is serialized.

ValidDiscriminant

Marker trait for types that abi_stable supports as enum discriminants.