pub fn derive_prefer_rnative(input: DeriveInput) -> Result<TokenStream>Expand description
Derive PreferRNativeType: adds the PrefersRNativeType marker trait and an
IntoR impl that wraps the value in AsRNative(self) before calling IntoR::into_sexp.
This routes conversion through native R vector allocation, bypassing list/ExternalPtr
paths. The type must also implement RNativeType for the AsRNative wrapper to compile.
The generated IntoR::Error is Infallible.