fn expand_struct(
attr: TokenStream,
item: TokenStream,
item_struct: &ItemStruct,
) -> TokenStreamExpand description
Dispatches #[miniextendr] on a struct to the correct derive path.
Decision logic:
- ALTREP attrs (
class/base): compile error with migration guidance (ALTREP via#[miniextendr]is removed — use the#[derive(Altrep*)]family) listmode:#[derive(IntoList, TryFromList, PreferList)]dataframemode:#[derive(DataFrameRow)](the companion getsIntoR)- Default or explicit
externalptr:ExternalPtr prefer = "native":ExternalPtr(without theIntoExternalPtrmarker, #1283) +PreferRNativeTypemarker