#[doc(hidden)]pub fn register<T: TypedExternal>()Expand description
Registers T’s carrier class when T is serde, once. The registration
function #[derive(ExternalPtr)] emits for the type calls it from
R_init (through MX_ALTREP_REGISTRATIONS).
§Panics
When another serde type of T’s crate with T’s name registered its
class first (claim). R_init turns the panic into an R error, so the
package does not load.