[][src]Trait abi_stable::nonexhaustive_enum::traits::GetNonExhaustive

pub unsafe trait GetNonExhaustive<Storage>: GetEnumInfo {
    type NonExhaustive;
}

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

Safety

Self::NonExhaustive must describe the layout of this enum, with the size and alignment of Storage, storing the size and alignment of this enum in the TypeLayout.data.TLData::Enum.exhaustiveness.IsExhaustive::nonexhaustive field .

Associated Types

type NonExhaustive

This is the marker type used as the layout of Self in NonExhaustive<>

Loading content...

Implementors

Loading content...