Expand description
ALTREP helpers for ExternalPtr — data1/data2 slot access.
Convenience functions for ALTREP implementations that store their data
in ExternalPtr slots. Also provides the Sidecar marker type for
#[r_data] fields.
Structs§
- RSidecar
- Marker type for enabling R sidecar accessors in an
ExternalPtrstruct.
Functions§
- altrep_
data1_ ⚠as - Extract the ALTREP data1 slot as a typed
ExternalPtr<T>. - altrep_
data1_ ⚠as_ unchecked - Extract the ALTREP data1 slot (unchecked version).
- altrep_
data1_ ⚠mut - Get a mutable reference to data in ALTREP data1 slot via
ErasedExternalPtr. - altrep_
data1_ ⚠mut_ unchecked - Get a mutable reference to data in ALTREP data1 slot (unchecked version).
- altrep_
data2_ ⚠as - Extract the ALTREP data2 slot as a typed
ExternalPtr<T>. - altrep_
data2_ ⚠as_ unchecked - Extract the ALTREP data2 slot (unchecked version).