pub fn derive_altrep_integer(input: DeriveInput) -> Result<TokenStream>Expand description
Derive macro entry point for AltrepInteger.
Auto-implements AltrepLen and AltIntegerData for a struct with a length field.
The elt() method returns self.{elt_field} as i32 if #[altrep(elt = "...")]
is specified, or NA_INTEGER by default.
Supports #[altrep(dataptr)] for direct i32 data pointer access and
#[altrep(subset)] for Extract_subset.