[][src]Module abi_stable::nonexhaustive_enum

Contains types and traits for nonexhaustive enums.

The most important type here is NonExhaustive, which allows passing an enum which used the #[derive(StableAbi)] #[sabi(kind(WithNonExhaustive(...)))] attributes through ffi.

Re-exports

pub use self::nonexhaustive::NonExhaustive;
pub use self::nonexhaustive::NonExhaustiveFor;
pub use self::nonexhaustive::NonExhaustiveWI;
pub use self::nonexhaustive::NonExhaustiveWS;
pub use self::traits::GetNonExhaustive;
pub use self::traits::GetEnumInfo;
pub use self::traits::ValidDiscriminant;
pub use self::traits::SerializeEnum;
pub use self::traits::DeserializeEnum;

Modules

nonexhaustive

Contains NonExhaustive<> and related items.

traits

The traits releated to nonexhaustive enums.

Structs

EnumInfo

Contains miscelaneous information about an enum.

Traits

GetVTable

Gets the vtable of NonExhaustive<Self,S,I>.

Functions

assert_nonexhaustive