Expand description
Derive macros for ALTREP data traits.
These macros auto-implement AltrepLen and Alt*Data traits for simple field-based
ALTREP types, reducing boilerplate for users.
Structsยง
- Altrep
Attrs ๐ - Parsed
#[altrep(...)]attributes controlling ALTREP derive code generation. - Altrep
Family ๐Config - Per-family configuration controlling low-level code generation for an ALTREP type family.
Functionsยง
- derive_
altrep_ complex - Derive macro entry point for
AltrepComplex. - derive_
altrep_ ๐generic - Shared implementation for all non-list ALTREP derive macros.
- derive_
altrep_ integer - Derive macro entry point for
AltrepInteger. - derive_
altrep_ list - Derive macro entry point for
AltrepList. - derive_
altrep_ logical - Derive macro entry point for
AltrepLogical. - derive_
altrep_ raw - Derive macro entry point for
AltrepRaw. - derive_
altrep_ real - Derive macro entry point for
AltrepReal. - derive_
altrep_ string - Derive macro entry point for
AltrepString. - generate_
altrep_ ๐len - Generates an
impl AltrepLen for Tblock that delegates to a named struct field.