Module efficient_enum::option [] [src]

Structs

EfficientOption

An option type similar to Option<(A, B)>, but where no extra data is used. Instead, some of the space in A is used to "tag the union".

EfficientOptionInnerNone

A helper type for EfficientOption, useful for adding data to is_none options.

EfficientOptionInnerSome

A helper type for EfficientOption, useful for accessing 'is_some' data and removing it.

EfficientOptionTuple

An option type similar to (A, Option<B>), but where no extra data is used. Instead, some of the space in A is used to "tag the union".

EfficientOptionTupleInnerNone

A helper type useful for accessing the lack of data or replacing it with nothing without having to use unwraps.

EfficientOptionTupleInnerSome

A helper type useful for accessing the optional data or removing it without having to use unwraps.

OptionNoneMut

A helper type for Option, useful for adding data to is_none options.

OptionSomeMut

A helper type for Option, useful for accessing 'is_some' data and removing it.

Enums

EfficientOptionInner

A helper type for EfficientOption, gives access to EfficientOptionInnerNone and EfficientOptionInnerSome variants.

EfficientOptionTupleInner

A helper type useful for accessing the lack of data or replacing it with nothing without having to use unwraps.

OptionMut

A helper type for Option, gives access to OptionNoneMut and OptionSomeMut variants.