Skip to main content

Module enum_expansion

Module enum_expansion 

Source
Expand description

Enum-specific DataFrame derive expansion.

Generates a companion struct where every column is Vec<Option<T>>, with None fill for fields absent in a given variant.

Functionsยง

build_enum_reader ๐Ÿ”’
Build the try_from_dataframe / try_from_dataframe_par methods for a tagged enum.
derive_enum_dataframe ๐Ÿ”’
Derive DataFrameRow for an enum with #[dataframe(align)].
enum_field_reader_capable ๐Ÿ”’
Check whether an enum field is reader-capable.
generate_split_method ๐Ÿ”’
Generate the to_dataframe_split associated method for an enum DataFrameRow.