Skip to main content

Module shape

Module shape 

Source
Expand description

DataFrameShape: the owned, GC-rooted return shape of the data.frame split verbs.

Two producers share it:

  • rows.into_dataframe_split() (IntoDataFrameSplit, from #[derive(DataFrameRow)] on an enum) โ€” always Bare or PerVariantList;
  • the serde helpers vec_to_dataframe_split / result_to_dataframe (feature = "serde") โ€” every variant.

The type lives here rather than under serde because the derive split is not serde-gated.

Re-exportsยง

use super::BuiltDataFrame; ๐Ÿ”’
use crate::into_r::IntoR; ๐Ÿ”’
use crate::NamedListBuilder; ๐Ÿ”’
use crate::Preserved; ๐Ÿ”’
use crate::SEXP; ๐Ÿ”’

Enumsยง

DataFrameShape
Categorical return shape of the data.frame split verbs: IntoDataFrameSplit::into_dataframe_split and the serde helpers vec_to_dataframe_split / result_to_dataframe (feature = "serde").
SplitResults
Result partition for DataFrameShape::Split.